From c182c8dc4174bc019bb23dec912ad8b89e0b964c Mon Sep 17 00:00:00 2001 From: Andreas Abel <andreas.abel@ifi.lmu.de> Date: Tue, 31 Aug 2021 16:54:20 +0200 Subject: [PATCH] Re #7469: sphinx-build with flag -W -E --keep-going Strict regime: turn warnings to errors (-W), rebuild from scratch (-E). (cherry picked from commit 067bb430e50c956fc1c605ceb5ec3f970d3e7218) --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a483f853dc..a86c211383 100644 --- a/Makefile +++ b/Makefile @@ -255,7 +255,9 @@ bootstrap-jsons-linux: phony # TODO: when we have sphinx-build2 ? SPHINXCMD:=sphinx-build # Flag -n ("nitpick") warns about broken references -SPHINX_FLAGS:=-n +# Flag -W turns warnings into errors +# Flag --keep-going continues after errors +SPHINX_FLAGS:=-n -W --keep-going -E SPHINX_HTML_OUTDIR:=dist-newstyle/doc/users-guide USERGUIDE_STAMP:=$(SPHINX_HTML_OUTDIR)/index.html -- GitLab