diff options
author | Julien Palard <julien@palard.fr> | 2018-11-03 18:06:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-03 18:06:33 (GMT) |
commit | f98c1623ec90508937afc1b58556e38214d70892 (patch) | |
tree | 93f1038fec1e2adc5d84f2c2c06e1dcc1984c53e | |
parent | 3e28eed9ec2249bb11ad0db4629271b7ce9b7918 (diff) | |
download | cpython-f98c1623ec90508937afc1b58556e38214d70892.zip cpython-f98c1623ec90508937afc1b58556e38214d70892.tar.gz cpython-f98c1623ec90508937afc1b58556e38214d70892.tar.bz2 |
Doc: -W flag for sphinx-build can be disabled (GH-10303)
-rw-r--r-- | Doc/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index 50beac5..4b85e9e 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -11,9 +11,10 @@ BLURB = PATH=$(VENVDIR)/bin:$$PATH blurb PAPER = SOURCES = DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py) +SPHINXERRORHANDLING = -W -ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -W -D latex_elements.papersize=$(PAPER) \ - $(SPHINXOPTS) . build/$(BUILDER) $(SOURCES) +ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_elements.papersize=$(PAPER) \ + $(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES) .PHONY: help build html htmlhelp latex text changes linkcheck \ suspicious coverage doctest pydoc-topics htmlview clean dist check serve \ |