Commit fef4a35d authored by Philipp Arras's avatar Philipp Arras

Do not delete docs before build

That may motiviate users to build the documentation locally in order to check
their docstrings
parent f4c52a60
......@@ -53,6 +53,7 @@ test_mpi:
pages:
stage: release
script:
- rm -rf docs/build docs/source/mod
- sh docs/generate.sh
- mv docs/build/ public/
artifacts:
......
rm -rf docs/build docs/source/mod
EXCLUDE="nifty7/logger.py nifty7/git_version.py"
sphinx-apidoc -e -o docs/source/mod nifty7 ${EXCLUDE}
sphinx-build -b html docs/source/ docs/build/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment