sphinx3
authorMatthias Klose <doko@debian.org>
Thu, 16 Dec 2021 23:13:29 +0000 (23:13 +0000)
committerMatthias Klose <doko@debian.org>
Thu, 16 Dec 2021 23:13:29 +0000 (23:13 +0000)
Gbp-Pq: Name sphinx3.diff

Doc/Makefile
Doc/conf.py

index c309c0f7d05dcfa3f35c2720cf401c11b4b5533d..a031260d566dadb70a645ed69230f97311921b78 100644 (file)
@@ -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
index d2dff7d7a8d8337bf6defdb23155375154363c1b..4d92dd01f0de5fa7e5cb579fec8992edbc753634 100644 (file)
@@ -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
 # -----------------------