mirror of
https://github.com/python/cpython.git
synced 2026-10-28 18:35:21 +08:00
[3.14] gh-57491: Reduce the EPUB table of contents depth to 2 (GH-158105) (#158250)
Co-authored-by: Danishk2445 <143554875+Danishk2445@users.noreply.github.com>
This commit is contained in:
1 parent
e16b12bb98
commit
e4467cc9f8
2 files changed
+7
No files matched your search
@@ -469,6 +469,10 @@ epub_exclude_files = ('index.xhtml', 'download.xhtml')
|
||||
# https://github.com/sphinx-doc/sphinx/issues/12359
|
||||
epub_use_index = False
|
||||
|
||||
# The default depth of 3 lists over a thousand entries, which makes the
|
||||
# table of contents hard to navigate in e-book readers
|
||||
epub_tocdepth = 2
|
||||
|
||||
# translation tag
|
||||
# ---------------
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
Reduce the depth of the table of contents in the EPUB documentation from
|
||||
three levels to two, making it much shorter and easier to navigate in e-book
|
||||
readers.
|
||||
Reference in new issue
Block a user