feat: initial CI job for building the documentation for gitlab page
This commit is contained in:
parent
6586647eac
commit
7049c1723d
@ -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
|
||||||
|
11
.gitlab/ci/doc.gitlab-ci.yml
Normal file
11
.gitlab/ci/doc.gitlab-ci.yml
Normal 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user