sphinx3
authorMatthias Klose <doko@debian.org>
Sun, 16 Jan 2022 17:12:18 +0000 (17:12 +0000)
committerMatthias Klose <doko@debian.org>
Sun, 16 Jan 2022 17:12:18 +0000 (17:12 +0000)
Gbp-Pq: Name sphinx3.diff

Doc/Makefile
Doc/conf.py

index 6e815664e4ebae7880bae1ccd58d80f5e428929f..0a3285d42f05ce1b9adef6c4c30412d690dbe17b 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 7e355bae46f03b0372c340af183acbb45a9f61d8..a7af65af480fb1abdd516c5fd2eb05223985caef 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
 # -----------------------