Move param doc (#2843)

moved param doc from docs repo to here
This commit is contained in:
CaCO3
2024-01-31 21:53:56 +01:00
committed by GitHub
parent 4990858101
commit 8410df6144
104 changed files with 958 additions and 18 deletions

View File

@@ -6,8 +6,9 @@ import glob
import markdown
parameterDocsFolder = "AI-on-the-edge-device-docs/param-docs/parameter-pages"
parameterDocsFolder = "../../param-docs/parameter-pages"
docsMainFolder = "../../sd-card/html"
configPageTemplate = "edit_config_param_template.html"
configPage = "edit_config_param.html"
htmlTooltipPrefix = """
@@ -20,6 +21,8 @@ htmlTooltipSuffix = """
"""
os.system("cp " + docsMainFolder + "/" + configPageTemplate + " " + docsMainFolder + "/" + configPage)
folders = sorted( filter( os.path.isdir, glob.glob(parameterDocsFolder + '/*') ) )

View File

@@ -1,15 +0,0 @@
#!/bin/bash
# Checkout the documentation reposo we can extract the parameter documentation
if [ -d "AI-on-the-edge-device-docs" ] ; then
# Repo already checked out, pull it
cd AI-on-the-edge-device-docs
git checkout main
git pull
cd ..
else
# Repos folde ris missing, clone it
git clone https://github.com/jomjol/AI-on-the-edge-device-docs.git
fi
python generate-param-doc-tooltips.py