[3.7] bpo-35564: add master_doc='contents' to conf.py (GH-12460) · python/cpython@756cfd8 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 756cfd8

JulienPalardjfbu

and

authored

(cherry picked from commit fc8284e) Co-authored-by: Jean-François B jfbu@free.fr

File tree

2 files changed

lines changed

2 files changed

lines changed

Lines changed: 2 additions & 0 deletions

Original file line number Diff line number Diff line change
@@ -46,6 +46,8 @@
46 46 'languages': ['ja', 'fr', 'zh_TW', 'zh_CN'], 'builders': ['man', 'text'],
47 47 }
48 48
49 +# Avoid a warning with Sphinx >= 2.0
50 +master_doc = 'contents'
49 51
50 52 # Options for HTML output
51 53 # -----------------------

Lines changed: 1 addition & 0 deletions

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