From 097c50afd460493c35b87675347f36ceb7362965 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Tue, 16 Nov 2021 10:24:31 +0000 Subject: [PATCH] sphinx3 Gbp-Pq: Name sphinx3.diff --- Doc/Makefile | 2 +- Doc/conf.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 # ----------------------- -- 2.30.2