summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-08-01 23:11:39 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-08-01 23:23:01 +0300
commit89a5fbbea1e344fb7e43ce4c547fbdf1ae8d81de (patch)
tree2fe702984ed3c7f3ac74a229784238ad0efa5af2 /doc
parent5e1df33b68212f2bcafc26fc460e82687cd23927 (diff)
downloadu-boot-89a5fbbea1e344fb7e43ce4c547fbdf1ae8d81de.tar.xz
doc: handle 'make htmldocs' warnings as errors
Parameter -W for sphinx-build turns build warnings into errors. This helps us to avoid bad patches passing Gitlab CI. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 683e4b5609..050d9dd239 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -6,7 +6,7 @@ subdir-y :=
# You can set these variables from the command line.
SPHINXBUILD = sphinx-build
-SPHINXOPTS =
+SPHINXOPTS = -W
SPHINXDIRS = .
_SPHINXDIRS = $(patsubst $(srctree)/doc/%/conf.py,%,$(wildcard $(srctree)/doc/*/conf.py))
SPHINX_CONF = conf.py