From 771ab515aa050efcfa3b7a94a234c25e2085b5b3 Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Wed, 23 Apr 2025 00:10:46 +0200 Subject: [PATCH] . --- .gitignore | 1 + README.md | 2 ++ param-docs/concat-parameter-pages.py | 6 +++--- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index dff8caf..d763360 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ docs/Parameters.md +docs/img/* .idea site \ No newline at end of file diff --git a/README.md b/README.md index 7195fb6..69807af 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/param-docs/concat-parameter-pages.py b/param-docs/concat-parameter-pages.py index effcf5b..d5148d4 100644 --- a/param-docs/concat-parameter-pages.py +++ b/param-docs/concat-parameter-pages.py @@ -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)