From 068628c43190d08080b0b2ce374aa19287a8b1f6 Mon Sep 17 00:00:00 2001 From: Anshuman Suri Date: Sun, 31 Dec 2023 10:46:33 -0500 Subject: [PATCH] Documentation auto-gen (WIP) --- .../workflows/{run_script.yml => generate_documentation.yml} | 0 .scripts/documentation.sh | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename .github/workflows/{run_script.yml => generate_documentation.yml} (100%) diff --git a/.github/workflows/run_script.yml b/.github/workflows/generate_documentation.yml similarity index 100% rename from .github/workflows/run_script.yml rename to .github/workflows/generate_documentation.yml diff --git a/.scripts/documentation.sh b/.scripts/documentation.sh index 8823279..8da6cab 100644 --- a/.scripts/documentation.sh +++ b/.scripts/documentation.sh @@ -1,5 +1,6 @@ #!/bin/bash +pip3 install pdoc3 pdoc --force --template-dir templates -o docs --html mimir -mv docs/mimir/* docs/ -rm -r docs/mimir \ No newline at end of file +mv ./docs/mimir/* ./docs/ +rm -r ./docs/mimir \ No newline at end of file