From ae9caed46f4bb069a5310b0499898005776f0ae2 Mon Sep 17 00:00:00 2001 From: David Rosa Date: Tue, 8 Oct 2019 15:26:43 -0700 Subject: [PATCH] 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. --- docs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index d53f817610..54148a757b 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -2,7 +2,7 @@ # # You can set these variables from the command line. -SPHINXOPTS = -j8 +SPHINXOPTS = -j8 -W SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build