]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.7] bpo-35564: add master_doc='contents' to conf.py (GH-12460)
authorJulien Palard <julien@palard.fr>
Wed, 20 Mar 2019 09:40:30 +0000 (10:40 +0100)
committerGitHub <noreply@github.com>
Wed, 20 Mar 2019 09:40:30 +0000 (10:40 +0100)
(cherry picked from commit fc8284e22074af8154e9865c8391b955f13a308b)

Co-authored-by: Jean-François B <jfbu@free.fr>
Doc/conf.py
Misc/NEWS.d/next/Documentation/2018-12-22-22-52-05.bpo-35564.TuEU_D.rst [new file with mode: 0644]

index eab3c39cfb7ccc0bc87248f76ac0d5b470bf2be6..da8b9d7b2a65bce03f4ae68e712cb4654836444b 100644 (file)
@@ -46,6 +46,8 @@ smartquotes_excludes = {
     'languages': ['ja', 'fr', 'zh_TW', 'zh_CN'], 'builders': ['man', 'text'],
 }
 
+# Avoid a warning with Sphinx >= 2.0
+master_doc = 'contents'
 
 # Options for HTML output
 # -----------------------
diff --git a/Misc/NEWS.d/next/Documentation/2018-12-22-22-52-05.bpo-35564.TuEU_D.rst b/Misc/NEWS.d/next/Documentation/2018-12-22-22-52-05.bpo-35564.TuEU_D.rst
new file mode 100644 (file)
index 0000000..8ca95ee
--- /dev/null
@@ -0,0 +1 @@
+Explicitly set master_doc variable in conf.py for compliance with Sphinx 2.0