[3.7] bpo-35564: add master_doc='contents' to conf.py (GH-12460) · python/cpython@756cfd8 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 756cfd8
and
authored
(cherry picked from commit fc8284e) Co-authored-by: Jean-François B jfbu@free.fr
File tree
2 files changed
lines changed
- Misc/NEWS.d/next/Documentation
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 |