CI: add documentation job
PATCH 1/1 CI: add documentation job
This job builds all of the Sphinx documentation it can find with fatal warnings enabled.
Signed-off-by Ross Burton <[email protected]>
--- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
.gitlab-ci.yml +15 -0
@@ -242,3 +242,18 @@ metrics: script: - kas shell --update --force-checkout ci/base.yml --command \ "$CI_PROJECT_DIR/ci/patchreview $CI_PROJECT_DIR/meta-* --verbose --metrics $CI_PROJECT_DIR/metrics.txt" + +documentation: + extends: .setup + script: + - | + sudo pip3 install -r meta-arm-bsp/documentation/requirements.txt + for CONF in meta-*/documentation/*/conf.py ; do + SOURCE_DIR=$(dirname $CONF) + MACHINE=$(basename $SOURCE_DIR) + sphinx-build -vW $SOURCE_DIR build-docs/$MACHINE + done + test -d build-docs/ + artifacts: + paths: + - build-docs/
Signature · 1 line
2.34.1
Jon Mason
AppliedQuoted 2 lines · Ross Burton
This job builds all of the Sphinx documentation it can find with fatal warnings enabled.
Applied, thanks!
[1/1] CI: add documentation job
commit: 72f0580f70e771432c83418e644d92e46dd33a58
Best regards,
Signature · 1 line
Jon Mason <[email protected]>