From: Matthias Klose Date: Tue, 8 Dec 2020 07:51:42 +0000 (+0000) Subject: sphinx3 X-Git-Tag: archive/raspbian/3.9.1-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8e2c510d6d38bd42bdaaaed8e4df654e0abaccf2;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 # -----------------------