Gitlab compiles the documentation

This commit is contained in:
Yohann D'ANELLO 2020-11-26 02:55:36 +01:00
parent 37efebe85b
commit 117d9da3ba
1 changed files with 15 additions and 0 deletions

View File

@ -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