From: Matthias Klose Date: Fri, 3 Sep 2021 06:18:44 +0000 (+0100) Subject: sphinx3 X-Git-Tag: archive/raspbian/3.9.7-2+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ef541b1a658483b5e952d2e1e5e942f5fe7833d2;p=python3.9.git sphinx3 Gbp-Pq: Name sphinx3.diff --- diff --git a/Doc/Makefile b/Doc/Makefile index c309c0f..a031260 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 d2dff7d..4d92dd0 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 # -----------------------