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@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9914>
This commit is contained in:
Erik Faye-Lund 2021-03-30 12:46:49 +02:00 committed by Marge Bot
parent ecc677a02f
commit 997c94eb33
1 changed files with 1 additions and 1 deletions

View File

@ -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