diff --git a/sphinx/apidoc.py b/sphinx/apidoc.py index af4043336..6006943d9 100644 --- a/sphinx/apidoc.py +++ b/sphinx/apidoc.py @@ -110,7 +110,7 @@ def create_modules_toc_file(master_package, modules, opts, name='modules'): """ Create the module's index. """ - text = format_heading(1, '%s Modules' % opts.header) + text = format_heading(1, '%s' % opts.header) text += '.. toctree::\n' text += ' :maxdepth: %s\n\n' % opts.maxdepth