]> granicus.if.org Git - python/commitdiff
bpo-34081: Fix wrong example link that was linking to distutils (GH-8248)
authorXtreak <tirkarthi@users.noreply.github.com>
Sun, 21 Oct 2018 14:54:52 +0000 (20:24 +0530)
committerJulien Palard <julien@palard.fr>
Sun, 21 Oct 2018 14:54:52 +0000 (16:54 +0200)
.azure-pipelines/docs-steps.yml
Doc/Makefile
Misc/NEWS.d/next/Build/2018-09-06-07-15-20.bpo-34081.cuSTnH.rst [new file with mode: 0644]

index c0404aebdcc5c7ad6e1facd33ebba1f94a0b6ae3..460576cbc9555680dc689950fd0aefb917704c5b 100644 (file)
@@ -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') }}:
index 042f960b93e7fff5731a6ed544b0ede439eb2b5b..50beac58ec3842026dd90cf570643a17c26aa6e2 100644 (file)
@@ -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 (file)
index 0000000..af385ba
--- /dev/null
@@ -0,0 +1 @@
+Make Sphinx warnings as errors in the Docs Makefile.