Skip to content

Commit

Permalink
Retain shorter tables of contents for Sphinx 5.2.3+ (python#114318)
Browse files Browse the repository at this point in the history
Disable toc_object_entries, new in Sphinx 5.2.3
  • Loading branch information
hugovk authored Jan 19, 2024
1 parent 7e49f27 commit 229ee5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
# Minimum version of sphinx required
needs_sphinx = '4.2'

# Create table of contents entries for domain objects (e.g. functions, classes,
# attributes, etc.). Default is True.
toc_object_entries = False

# Ignore any .rst files in the includes/ directory;
# they're embedded in pages but not rendered individually.
# Ignore any .rst files in the venv/ directory.
Expand Down

0 comments on commit 229ee5b

Please sign in to comment.