Skip to content

Commit 756cfd8

Browse files
JulienPalardjfbu
andauthored
[3.7] bpo-35564: add master_doc='contents' to conf.py (GH-12460)
(cherry picked from commit fc8284e) Co-authored-by: Jean-François B <[email protected]>
1 parent ef10f88 commit 756cfd8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

‎Doc/conf.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
'languages': ['ja', 'fr', 'zh_TW', 'zh_CN'], 'builders': ['man', 'text'],
4747
}
4848

49+
# Avoid a warning with Sphinx >= 2.0
50+
master_doc = 'contents'
4951

5052
# Options for HTML output
5153
# -----------------------
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Explicitly set master_doc variable in conf.py for compliance with Sphinx 2.0

0 commit comments

Comments
 (0)