subcategories are now Title case and _ gets changed to a space

pull/9451/head
Brian Coca 10 years ago
parent 5f1ad79cd3
commit 12393a4b47

@ -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…
Cancel
Save