Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
Nabu
Commits
8a834ac1
Commit
8a834ac1
authored
Jan 27, 2021
by
payno
Browse files
[CI] improve documentation generation
parent
c9eb1bd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
8a834ac1
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment