This commit is contained in:
CaCO3
2025-04-23 00:10:46 +02:00
parent 02c145ed80
commit 771ab515aa
3 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
docs/Parameters.md
docs/img/*
.idea
site

View File

@@ -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

View File

@@ -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)