Skip to content

Commit 07b8018

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

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
@@ -41,6 +41,8 @@
4141
# Require Sphinx 1.2 for build.
4242
needs_sphinx = '1.2'
4343

44+
# Avoid a warning with Sphinx >= 2.0
45+
master_doc = 'contents'
4446

4547
# Options for HTML output
4648
# -----------------------
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)