Skip to content

Commit f98c162

Browse files
authored
Doc: -W flag for sphinx-build can be disabled (GH-10303)
1 parent 3e28eed commit f98c162

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ BLURB = PATH=$(VENVDIR)/bin:$$PATH blurb
1111
PAPER =
1212
SOURCES =
1313
DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py)
14+
SPHINXERRORHANDLING = -W
1415

15-
ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -W -D latex_elements.papersize=$(PAPER) \
16-
$(SPHINXOPTS) . build/$(BUILDER) $(SOURCES)
16+
ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_elements.papersize=$(PAPER) \
17+
$(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES)
1718

1819
.PHONY: help build html htmlhelp latex text changes linkcheck \
1920
suspicious coverage doctest pydoc-topics htmlview clean dist check serve \

0 commit comments

Comments
 (0)