summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXtreak <tirkarthi@users.noreply.github.com>2018-10-21 14:54:52 (GMT)
committerJulien Palard <julien@palard.fr>2018-10-21 14:54:52 (GMT)
commit121eb1694cab14df857ba6abe9839654cada15cf (patch)
tree891eff262bb477f22b63106f1db425abf1fd4805
parentc3f52a59ce8406d9e59253ad4621e4749abdaeef (diff)
downloadcpython-121eb1694cab14df857ba6abe9839654cada15cf.zip
cpython-121eb1694cab14df857ba6abe9839654cada15cf.tar.gz
cpython-121eb1694cab14df857ba6abe9839654cada15cf.tar.bz2
bpo-34081: Fix wrong example link that was linking to distutils (GH-8248)
-rw-r--r--.azure-pipelines/docs-steps.yml2
-rw-r--r--Doc/Makefile2
-rw-r--r--Misc/NEWS.d/next/Build/2018-09-06-07-15-20.bpo-34081.cuSTnH.rst1
3 files changed, 3 insertions, 2 deletions
diff --git a/.azure-pipelines/docs-steps.yml b/.azure-pipelines/docs-steps.yml
index c0404ae..460576c 100644
--- a/.azure-pipelines/docs-steps.yml
+++ b/.azure-pipelines/docs-steps.yml
@@ -12,7 +12,7 @@ steps:
inputs:
versionSpec: '>=3.6'
-- script: python -m pip install sphinx~=1.6.1 blurb python-docs-theme
+- script: python -m pip install sphinx==1.8.1 blurb python-docs-theme
displayName: 'Install build dependencies'
- ${{ if ne(parameters.latex, 'true') }}:
diff --git a/Doc/Makefile b/Doc/Makefile
index 042f960..50beac5 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -12,7 +12,7 @@ PAPER =
SOURCES =
DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py)
-ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_elements.papersize=$(PAPER) \
+ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -W -D latex_elements.papersize=$(PAPER) \
$(SPHINXOPTS) . build/$(BUILDER) $(SOURCES)
.PHONY: help build html htmlhelp latex text changes linkcheck \
diff --git a/Misc/NEWS.d/next/Build/2018-09-06-07-15-20.bpo-34081.cuSTnH.rst b/Misc/NEWS.d/next/Build/2018-09-06-07-15-20.bpo-34081.cuSTnH.rst
new file mode 100644
index 0000000..af385ba
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2018-09-06-07-15-20.bpo-34081.cuSTnH.rst
@@ -0,0 +1 @@
+Make Sphinx warnings as errors in the Docs Makefile.