diff --git a/README.md b/README.md index 940bb1e..3b341bb 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Each parameter which is listed in the [configfile](https://github.com/jomjol/AI- has its own description page in the folder `param-docs/parameter-pages` (grouped by the config sections). Those pages can be edited as needed. -The script `param-docs/concat-parameter-pages.py` should be run whenever one of the pages changed. +The script `concat-parameter-pages.py` in`param-docs` should be run whenever one of the pages changed. It then concatenates all pages into the single `../docs/Parameters.md` which gets be added to the `mkdocs` documentation. ### Template Generator diff --git a/param-docs/generate-param-doc-pages.py b/param-docs/generate-param-doc-pages.py index b82c14c..73daa01 100644 --- a/param-docs/generate-param-doc-pages.py +++ b/param-docs/generate-param-doc-pages.py @@ -68,7 +68,7 @@ for section in config: #print(" %s = %s" % (parameter, value)) if "main." in parameter: - parameter = parameter.replace("main.", ".") + parameter = parameter.replace("main.", "NUMBER.") """ For each config line, create a markdown file