bpo-35564: add master_doc='contents' to conf.py (GH-11290)

This commit is contained in:
Jean-François B 2018-12-22 23:31:08 +01:00 committed by Julien Palard
parent 8ac658114d
commit fc8284e220
2 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,8 @@ smartquotes_excludes = {
'languages': ['ja', 'fr', 'zh_TW', 'zh_CN'], 'builders': ['man', 'text'],
}
# Avoid a warning with Sphinx >= 2.0
master_doc = 'contents'
# Options for HTML output
# -----------------------

View File

@ -0,0 +1 @@
Explicitly set master_doc variable in conf.py for compliance with Sphinx 2.0