mirror of https://gitlab.crans.org/bde/nk20
Gitlab compiles the documentation
This commit is contained in:
parent
37efebe85b
commit
117d9da3ba
|
@ -1,6 +1,7 @@
|
|||
stages:
|
||||
- test
|
||||
- quality-assurance
|
||||
- docs
|
||||
|
||||
# Also fetch submodules
|
||||
variables:
|
||||
|
@ -47,3 +48,17 @@ linters:
|
|||
|
||||
# Be nice to new contributors, but please use `tox`
|
||||
allow_failure: true
|
||||
|
||||
# Compile documentation
|
||||
documentation:
|
||||
stage: docs
|
||||
image: sphinxdoc/sphinx
|
||||
before_script:
|
||||
- pip install sphinx-rtd-theme
|
||||
- cd docs
|
||||
script:
|
||||
- make dirhtml
|
||||
artifacts:
|
||||
paths:
|
||||
- _build
|
||||
expire_in: 1 day
|
||||
|
|
Loading…
Reference in New Issue