subcategories are now Title case and _ gets changed to a space
This commit is contained in:
parent
5f1ad79cd3
commit
12393a4b47
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue