mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove "Modules" suffix for project header.
This commit is contained in:
parent
4abbe95a9c
commit
cd5e11abee
@ -110,7 +110,7 @@ def create_modules_toc_file(master_package, modules, opts, name='modules'):
|
|||||||
"""
|
"""
|
||||||
Create the module's index.
|
Create the module's index.
|
||||||
"""
|
"""
|
||||||
text = format_heading(1, '%s Modules' % opts.header)
|
text = format_heading(1, '%s' % opts.header)
|
||||||
text += '.. toctree::\n'
|
text += '.. toctree::\n'
|
||||||
text += ' :maxdepth: %s\n\n' % opts.maxdepth
|
text += ' :maxdepth: %s\n\n' % opts.maxdepth
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user