1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: Allow building with Sphinx >= 3.2
Additionally: Disable sphinx warnings
Bug-cython: https://bugs.python.org/issue40204
Origin: upstream, https://github.com/python/cpython/commit/423e77d6de497931585d1883805a9e3fa4096b0b
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -77,6 +77,10 @@
# Avoid a warning with Sphinx >= 2.0
master_doc = 'contents'
+# Allow to build with Sphinx >= 3.2
+c_allow_pre_v3 = True
+c_warn_on_allowed_pre_v3 = False
+
# Options for HTML output
# -----------------------
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -13,7 +13,7 @@
PAPER =
SOURCES =
DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py)
-SPHINXERRORHANDLING = -W
+#SPHINXERRORHANDLING = -W
# Internal variables.
PAPEROPT_a4 = -D latex_elements.papersize=a4paper
|