Commit 8a834ac1 authored by payno's avatar payno
Browse files

[CI] improve documentation generation

parent c9eb1bd1
......@@ -60,15 +60,15 @@ linux_docker:
- source $VENV_DIR/bin/activate
- pip install --upgrade pip
- pip install sphinx cloud_sptheme nbsphinx recommonmark numpy
- rm -rf artifacts
- rm -rf public
- mkdir artifacts
script:
- cd doc
- make html
- cd ..
- mkdir public
- cp -rv doc/_build/html/* public/
artifacts:
paths:
- public
- python setup.py build build_sphinx -b html
- mv build/sphinx/html artifacts/doc
- mv artifacts/doc public
after_script:
- ls -Rl public
pages_shell:
......@@ -81,3 +81,4 @@ pages_shell:
artifacts:
paths:
- public
expire_in: 2h
Supports Markdown
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