From de6d05f461aa5b40712594d1965136ef2a11ee57 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Sun, 1 Dec 2024 14:12:57 +0200 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 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 # ----------------------- -- 2.30.2