sphinx3
authorMatthias Klose <doko@debian.org>
Wed, 12 Aug 2020 10:42:16 +0000 (11:42 +0100)
committerMatthias Klose <doko@debian.org>
Wed, 12 Aug 2020 10:42:16 +0000 (11:42 +0100)
Gbp-Pq: Name sphinx3.diff

Doc/Makefile
Doc/conf.py

index 725476d16390a9548f545604b3cd92e07924fe5e..4d2df0f5418443df09dd4a4041900356ee13edfc 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 bfb2a98fc63a2f153bc7c9341c774ac8fc33c8e4..93208227ce10455be280f2d85ffa65e4f7135f1b 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
 # -----------------------