ci: install sphinx to build docs

This commit is contained in:
Iain Learmonth 2024-11-18 10:17:49 +00:00
parent d551074a02
commit 0b3254f99c

View file

@ -19,6 +19,7 @@ test:docs:
- cp config.yaml.example config.yaml
- apt update && apt install build-essential
- pip install -r requirements.txt
- pip install sphinx
- pushd docs && DISABLE_METRICS=true sphinx-build -b html . ../public && popd
rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
@ -68,6 +69,7 @@ pages:
- cp config.yaml.example config.yaml
- apt update && apt install build-essential
- pip install -r requirements.txt
- pip install sphinx
- pushd docs && DISABLE_METRICS=true sphinx-build -b html . ../public && popd
artifacts:
paths: