mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-06 03:26:54 +03:00
.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
docs/Parameters.md
|
||||
docs/img/*
|
||||
.idea
|
||||
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:
|
||||
```bash
|
||||
cd param-docs
|
||||
rm -rf AI-on-the-edge-device
|
||||
git clone https://github.com/jomjol/AI-on-the-edge-device.git
|
||||
python concat-parameter-pages.py
|
||||
cd ..
|
||||
```
|
||||
|
||||
### Template Generator
|
||||
|
||||
@@ -8,7 +8,7 @@ import shutil
|
||||
import glob
|
||||
|
||||
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/"
|
||||
docsMainFolder = "../docs"
|
||||
@@ -47,8 +47,8 @@ for folder in foldersRaw:
|
||||
continue
|
||||
|
||||
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(" Please update `sectionsLogicallyOrdered`!")
|
||||
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` in 'concat-parameter-pages.py'!")
|
||||
sectionsLogicallyOrdered.append(folder)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user