docs: Treat sphinx-build warnings as errors.

"This means that the build stops at the first warning
and sphinx-build exits with exit status 1."
https://www.sphinx-doc.org/en/master/man/sphinx-build.html#id6

Follow-up to issue #13263.
This commit is contained in:
David Rosa 2019-10-08 15:26:43 -07:00 committed by Tim Abbott
parent dade0ad6d5
commit ae9caed46f
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
#
# You can set these variables from the command line.
SPHINXOPTS = -j8
SPHINXOPTS = -j8 -W
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build