mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
subcategories are now Title case and _ gets changed to a space
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user