Use --fail-on-warning --keep-going for all builders

This commit is contained in:
Hugo van Kemenade 2025-04-27 19:06:38 +03:00
parent 5af05d384a
commit 84d728978f

View File

@ -3,8 +3,8 @@
# You can set these variables from the command line. # You can set these variables from the command line.
PYTHON = python3 PYTHON = python3
SPHINXOPTS =
SPHINXBUILD = $(PYTHON) -m sphinx.cmd.build SPHINXBUILD = $(PYTHON) -m sphinx.cmd.build
SPHINXOPTS = --fail-on-warning --keep-going
PAPER = PAPER =
BUILDDIR = _build BUILDDIR = _build
BUILDER = html BUILDER = html
@ -40,7 +40,7 @@ install-sphinx:
.PHONY: html .PHONY: html
html: html:
$(MAKE) install-sphinx $(MAKE) install-sphinx
$(SPHINXBUILD) --fail-on-warning --keep-going $(ALLSPHINXOPTS) $(SPHINXBUILD) $(ALLSPHINXOPTS)
.PHONY: dirhtml .PHONY: dirhtml
dirhtml: BUILDER = dirhtml dirhtml: BUILDER = dirhtml