[2.7] bpo-35564: add master_doc='contents' to conf.py (GH-12462) · python/cpython@07b8018 (original) (raw)

File tree

2 files changed

lines changed

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -41,6 +41,8 @@
41 41 # Require Sphinx 1.2 for build.
42 42 needs_sphinx = '1.2'
43 43
44 +# Avoid a warning with Sphinx >= 2.0
45 +master_doc = 'contents'
44 46
45 47 # Options for HTML output
46 48 # -----------------------
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1 +Explicitly set master_doc variable in conf.py for compliance with Sphinx 2.0