diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py index 03b8827d485..73729da4d6a 100755 --- a/hacking/module_formatter.py +++ b/hacking/module_formatter.py @@ -372,7 +372,7 @@ def process_category(category, categories, options, env, template, outputname): sections.sort() for section in sections: - category_file.write("%s\n%s\n\n" % (section,'-' * len(section))) + category_file.write("%s\n%s\n\n" % (section.replace("_"," ").title(),'-' * len(section))) category_file.write(".. toctree:: :maxdepth: 1\n\n") section_modules = module_map[section].keys()