Mesa (master): ci: turn sphinx-build warnings into errors

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 1 19:52:15 UTC 2021


Module: Mesa
Branch: master
Commit: 997c94eb33db47d587294a4a03d60034b7dd9577
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=997c94eb33db47d587294a4a03d60034b7dd9577

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Mar 30 12:46:49 2021 +0200

ci: turn sphinx-build warnings into errors

This should make it harder to accidentally introduce formatting issues
into the docs.

Acked-by: Daniel Stone <daniels at collabora.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9914>

---

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 06f00b575e5..110b9a41fbd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -92,7 +92,7 @@ stages:
   script:
   - apk --no-cache add graphviz
   - pip3 install sphinx sphinx_rtd_theme
-  - sphinx-build -b html docs public
+  - sphinx-build -W -b html docs public
 
 pages:
   extends: .docs-base



More information about the mesa-commit mailing list