From: Michał Kępień Date: Wed, 3 Feb 2021 10:44:02 +0000 (+0100) Subject: Make sphinx-build warnings fatal X-Git-Tag: v9.17.10~8^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=51479ed9a3f76ec3b8113e2614438cef77e0ce27;p=thirdparty%2Fbind9.git Make sphinx-build warnings fatal In order to prevent documentation building issues from being glossed over, pass the -W command line switch to all sphinx-build invocations. This causes the latter to return with a non-zero exit code whenever any Sphinx warnings are triggered. --- diff --git a/Makefile.docs b/Makefile.docs index 8fe3114dbc6..3b2700687be 100644 --- a/Makefile.docs +++ b/Makefile.docs @@ -10,6 +10,7 @@ AM_V_SPHINX_0 = @echo " SPHINX $@"; SPHINXBUILDDIR = $(builddir)/_build common_SPHINXOPTS = \ + -W \ -c $(srcdir) \ -a \ $(SPHINX_V)