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

[CI] improve documentation generation

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