From: Matthias Klose Date: Fri, 5 Feb 2021 13:46:56 +0000 (+0000) Subject: sphinx3 X-Git-Tag: archive/raspbian/3.9.1-4+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4ecb00632eb551148d32c6761e13ec1458ace879;p=python3.9.git sphinx3 Gbp-Pq: Name sphinx3.diff --- diff --git a/Doc/Makefile b/Doc/Makefile index c7ce24a..71c653f 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -11,7 +11,7 @@ BLURB = PATH=$(VENVDIR)/bin:$$PATH blurb PAPER = SOURCES = DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py) -SPHINXERRORHANDLING = -W +#SPHINXERRORHANDLING = -W # Internal variables. PAPEROPT_a4 = -D latex_elements.papersize=a4paper diff --git a/Doc/conf.py b/Doc/conf.py index 079d177..f4efeb8 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -62,6 +62,10 @@ smartquotes_excludes = { # 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 # -----------------------