[Python-checkins] Doc: -W flag for sphinx-build can be disabled (GH-10303)
Julien Palard
webhook-mailer at python.org
Sat Nov 3 14:06:37 EDT 2018
https://github.com/python/cpython/commit/f98c1623ec90508937afc1b58556e38214d70892
commit: f98c1623ec90508937afc1b58556e38214d70892
branch: master
author: Julien Palard <julien at palard.fr>
committer: GitHub <noreply at github.com>
date: 2018-11-03T19:06:33+01:00
summary:
Doc: -W flag for sphinx-build can be disabled (GH-10303)
files:
M Doc/Makefile
diff --git a/Doc/Makefile b/Doc/Makefile
index 50beac58ec38..4b85e9eb6058 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 \
More information about the Python-checkins
mailing list