Skip to content

Commit 4508bc3

Browse files
JulienPalardjfbu
authored andcommitted
[3.6] bpo-35564: add master_doc='contents' to conf.py (GH-11290). (GH-12461)
(cherry picked from commit fc8284e) Co-authored-by: Jean-François B <jfbu@free.fr>
1 parent 75f8a69 commit 4508bc3

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
@@ -40,6 +40,8 @@
4040
venvdir = os.getenv('VENVDIR', 'venv')
4141
exclude_patterns = [venvdir+'/*', 'README.rst']
4242

43+
# Avoid a warning with Sphinx >= 2.0
44+
master_doc = 'contents'
4345

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