mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2026-01-27 04:40:39 +03:00
@@ -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 + '/*') ) )
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user