]> granicus.if.org Git - python/commitdiff
bpo-35564: add master_doc='contents' to conf.py (GH-11290)
authorJean-François B <jfbu@free.fr>
Sat, 22 Dec 2018 22:31:08 +0000 (23:31 +0100)
committerJulien Palard <julien@palard.fr>
Sat, 22 Dec 2018 22:31:08 +0000 (23:31 +0100)
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 eb57ee0c93399efe32092df6c9bcd4d9d99f619a..a9dfe827a0dd0a42773ede7e5036762853d8eb40 100644 (file)
@@ -53,6 +53,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