mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-06 11:36:53 +03:00
.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
docs/Parameters.md
|
docs/Parameters.md
|
||||||
|
docs/img/*
|
||||||
.idea
|
.idea
|
||||||
site
|
site
|
||||||
@@ -23,8 +23,10 @@ This happens automatically daily in the Github action.
|
|||||||
if you run it manually, make sure to clone the main repo first, eg. using:
|
if you run it manually, make sure to clone the main repo first, eg. using:
|
||||||
```bash
|
```bash
|
||||||
cd param-docs
|
cd param-docs
|
||||||
|
rm -rf AI-on-the-edge-device
|
||||||
git clone https://github.com/jomjol/AI-on-the-edge-device.git
|
git clone https://github.com/jomjol/AI-on-the-edge-device.git
|
||||||
python concat-parameter-pages.py
|
python concat-parameter-pages.py
|
||||||
|
cd ..
|
||||||
```
|
```
|
||||||
|
|
||||||
### Template Generator
|
### Template Generator
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import shutil
|
|||||||
import glob
|
import glob
|
||||||
|
|
||||||
sectionsLogicallyOrdered = ["TakeImage", "Alignment", "Digits", "Analog", "PostProcessing",
|
sectionsLogicallyOrdered = ["TakeImage", "Alignment", "Digits", "Analog", "PostProcessing",
|
||||||
"MQTT", "InfluxDB", "InfluxDBv2", "GPIO", "AutoTimer", "DataLogging", "Debug", "System"]
|
"MQTT", "InfluxDB", "InfluxDBv2", "Webhook", "GPIO", "AutoTimer", "DataLogging", "Debug", "System"]
|
||||||
|
|
||||||
parameterDocsFolder = "AI-on-the-edge-device/param-docs/parameter-pages/"
|
parameterDocsFolder = "AI-on-the-edge-device/param-docs/parameter-pages/"
|
||||||
docsMainFolder = "../docs"
|
docsMainFolder = "../docs"
|
||||||
@@ -47,8 +47,8 @@ for folder in foldersRaw:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if not folder in sectionsLogicallyOrdered:
|
if not folder in sectionsLogicallyOrdered:
|
||||||
print("Warning: The section %r seems to be new, appending it to the end of the logically ordered folder list!" % folder)
|
print("Warning: The section %r seems to be new, appending it to the end of the logically ordered parameter sections list!" % folder)
|
||||||
print(" Please update `sectionsLogicallyOrdered`!")
|
print(" Please update `sectionsLogicallyOrdered` in 'concat-parameter-pages.py'!")
|
||||||
sectionsLogicallyOrdered.append(folder)
|
sectionsLogicallyOrdered.append(folder)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user