sphinx3
authorMatthias Klose <doko@debian.org>
Mon, 19 Oct 2020 09:51:18 +0000 (10:51 +0100)
committerMatthias Klose <doko@debian.org>
Mon, 19 Oct 2020 09:51:18 +0000 (10:51 +0100)
Gbp-Pq: Name sphinx3.diff

Doc/Makefile
Doc/conf.py

index c7ce24abf25cf27fcabbc865f0cb7c6839cf19d0..71c653fbd275e21b9d315cf6053022c68b781eb4 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 079d17717f381c66f72f5f13bfcd0fdf7d6beadb..f4efeb84ba15eab9b8cc709b20c5cdc73cafe049 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
 # -----------------------