From 117d9da3bad1822b09daa4cb65bbd913ac8dfe69 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 26 Nov 2020 02:55:36 +0100 Subject: [PATCH] Gitlab compiles the documentation --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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