diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2181b4b5..7e632755 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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