Skip to content

Commit

Permalink
docs builder added
Browse files Browse the repository at this point in the history
  • Loading branch information
akabiraka committed Aug 7, 2023
2 parents 71b3c13 + 79515ae commit 46f919e
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ deprecated/
outputs/

*.nf*
# docs/build*
docs/*
1 change: 0 additions & 1 deletion docs/.nojekyll
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

File renamed without changes.
12 changes: 9 additions & 3 deletions docs/create_docs.sh → docs_builder/create_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,15 @@
# * Code style: ``cool_variable=42``

make clean
rm -rf ./source/modules
rm -rf source/modules

# a module directory must have __init__.py in the directory
sphinx-apidoc -o ./source/modules ../pydna_epbd/
sphinx-apidoc -o source/modules ../pydna_epbd/

make html
make html

rm -rf ../docs/*
touch ../docs/.nojekyll
mv build/html/* ../docs/
mv build/doctrees ../docs/
rm -rf build
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 46f919e

Please sign in to comment.