2021-03-02 16:58:06 +08:00
|
|
|
pages:
|
|
|
|
stage: doc
|
2021-03-02 17:08:39 +08:00
|
|
|
needs: ["deploy"]
|
2021-03-02 20:56:12 +08:00
|
|
|
image: python
|
2021-03-02 16:58:06 +08:00
|
|
|
script:
|
2021-03-02 20:46:26 +08:00
|
|
|
- pip install -U sphinx sphinx_rtd_theme sphinx-material
|
2021-03-02 16:58:06 +08:00
|
|
|
- sphinx-build -b html ./docs public
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
2021-03-02 17:18:11 +08:00
|
|
|
only:
|
|
|
|
refs:
|
|
|
|
- master
|
|
|
|
- develop
|
2021-03-02 16:58:06 +08:00
|
|
|
|
|
|
|
|