diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-08-01 22:11:39 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-08-01 22:23:01 +0200 |
commit | 89a5fbbea1e344fb7e43ce4c547fbdf1ae8d81de (patch) | |
tree | 2fe702984ed3c7f3ac74a229784238ad0efa5af2 /doc | |
parent | 5e1df33b68212f2bcafc26fc460e82687cd23927 (diff) | |
download | u-boot-89a5fbbea1e344fb7e43ce4c547fbdf1ae8d81de.tar.gz |
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/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile index 683e4b56099..050d9dd2391 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 |