From 699dbb4fa0b7deb78a8d092d0af9c683ddbc4d72 Mon Sep 17 00:00:00 2001 From: xtreak Date: Wed, 11 Jul 2018 10:34:52 +0000 Subject: [PATCH 1/5] Fix wrong example link that was linking to distutils --- Doc/c-api/typeobj.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 5615f59514b9de..e4021864ec060b 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -20,7 +20,7 @@ functionality. The fields of the type object are examined in detail in this section. The fields will be described in the order in which they occur in the structure. -In addition to the following quick reference, the :ref:`examples` +In addition to the following quick reference, the :ref:`typeobj-examples` section provides at-a-glance insight into the meaning and use of :c:type:`PyTypeObject`. @@ -2321,7 +2321,7 @@ Slot Type typedefs .. c:type:: int (*objobjargproc)(PyObject *, PyObject *, PyObject *) -.. _examples: +.. _typeobj-examples: Examples ======== From 7742fb91b323ddf0a482c8845a3f5896cb26497e Mon Sep 17 00:00:00 2001 From: xtreak Date: Fri, 13 Jul 2018 09:57:10 +0000 Subject: [PATCH 2/5] Add -W to make warnings as errors --- Doc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/Makefile b/Doc/Makefile index 042f960b93e7ff..50beac58ec3842 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 \ From 74660e5f908f48808c655b82e7a31fddfa4caaa7 Mon Sep 17 00:00:00 2001 From: xtreak Date: Thu, 6 Sep 2018 07:15:47 +0000 Subject: [PATCH 3/5] Add NEWS entry --- Misc/NEWS.d/next/Build/2018-09-06-07-15-20.bpo-34081.cuSTnH.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Build/2018-09-06-07-15-20.bpo-34081.cuSTnH.rst 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 00000000000000..af385bac231b8e --- /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. From 6315d3f0e6aaedb49326b76d5db40da88458f897 Mon Sep 17 00:00:00 2001 From: xtreak Date: Sat, 20 Oct 2018 22:09:46 +0530 Subject: [PATCH 4/5] Revert "Fix wrong example link that was linking to distutils" This reverts commit b2c6ff5c2ee1dc2129c3c7bdd7b57d0ba0614d2b. --- Doc/c-api/typeobj.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index e4021864ec060b..5615f59514b9de 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -20,7 +20,7 @@ functionality. The fields of the type object are examined in detail in this section. The fields will be described in the order in which they occur in the structure. -In addition to the following quick reference, the :ref:`typeobj-examples` +In addition to the following quick reference, the :ref:`examples` section provides at-a-glance insight into the meaning and use of :c:type:`PyTypeObject`. @@ -2321,7 +2321,7 @@ Slot Type typedefs .. c:type:: int (*objobjargproc)(PyObject *, PyObject *, PyObject *) -.. _typeobj-examples: +.. _examples: Examples ======== From 736a76da9c1d92a89e5b4c6dedef511f69a66140 Mon Sep 17 00:00:00 2001 From: xtreak Date: Sat, 20 Oct 2018 23:09:25 +0530 Subject: [PATCH 5/5] Pin updated version of Sphinx in Azure pipeline --- .azure-pipelines/docs-steps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/docs-steps.yml b/.azure-pipelines/docs-steps.yml index c0404aebdcc5c7..460576cbc95556 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') }}: