From 1a3d0dd0402ab9f87d44085d872a1cbd4823e7b9 Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Wed, 22 Feb 2023 23:51:44 +0100 Subject: [PATCH] . --- .github/workflows/build-docs.yaml | 4 ++-- param-docs/concat-parameter-pages.py | 2 +- ...aram-doc-pages.py => generate-template-param-doc-pages.py} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename param-docs/{generate-param-doc-pages.py => generate-template-param-doc-pages.py} (100%) diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index 50bd69e..f7c94dc 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -39,9 +39,9 @@ jobs: - name: Generate Parameter Page run: | cd param-docs - python generate-param-doc-pages.py + python generate-template-param-doc-pages.py # Creates a templated page for each parameter which does not yet have a page tree parameter-pages python concat-parameter-pages.py - - name: Store Cocumentation in the gh-pages branch so it gets pushed to the website + - name: Store Documentation in the gh-pages branch so it gets pushed to the website run: mkdocs gh-deploy diff --git a/param-docs/concat-parameter-pages.py b/param-docs/concat-parameter-pages.py index dc7d74c..6b57da4 100644 --- a/param-docs/concat-parameter-pages.py +++ b/param-docs/concat-parameter-pages.py @@ -72,7 +72,7 @@ for folder in folders: if folder == "img": # Skip the images folder continue - + # Add section with open(docsMainFolder + "/" + parameterOverviewFile, 'a') as overviewFileHandle: overviewFileHandle.write("\n## Section `%s`\n\n" % folder) diff --git a/param-docs/generate-param-doc-pages.py b/param-docs/generate-template-param-doc-pages.py similarity index 100% rename from param-docs/generate-param-doc-pages.py rename to param-docs/generate-template-param-doc-pages.py