Add new target doc-strict for development to detect warnings, but avoid
failing package builds due to documentation warnings.
start_in: '30 seconds'
script:
- meson build_doc -Ddoc=enabled
- - ninja -C build_doc doc
+ - ninja -C build_doc doc-strict
artifacts:
expire_in: 6 hour
paths:
'doc',
command: make_doc,
)
+
+
+run_target(
+ 'doc-strict',
+ command: [make_doc, '-W'],
+)
set -o errexit -o nounset
rm -rf doc/html
-${SPHINX} -W -b html -d doc/.doctrees doc doc/html
+${SPHINX} ${@} -b html -d doc/.doctrees doc doc/html