feat: initial CI job for building the documentation for gitlab page

This commit is contained in:
Swann 2021-03-02 09:58:06 +01:00
parent 6586647eac
commit 7049c1723d
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB
2 changed files with 14 additions and 0 deletions

View File

@ -1,10 +1,13 @@
stages: stages:
- test - test
- build - build
- doc
- deploy - deploy
include: include:
- local: .gitlab/ci/test.gitlab-ci.yml - local: .gitlab/ci/test.gitlab-ci.yml
- local: .gitlab/ci/build.gitlab-ci.yml - local: .gitlab/ci/build.gitlab-ci.yml
- local: .gitlab/ci/deploy.gitlab-ci.yml - local: .gitlab/ci/deploy.gitlab-ci.yml
- local: .gitlab/ci/doc.gitlab-ci.yml

View File

@ -0,0 +1,11 @@
pages:
stage: doc
image: python:3.7-alpine
script:
- pip install -U sphinx sphinx_rtd_theme
- sphinx-build -b html ./docs public
artifacts:
paths:
- public