mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
Add note about how to submit doc changes to generated module docs, limit TOC depth for module category list.
This commit is contained in:
parent
d6e28b4c57
commit
83d298accc
2 changed files with 4 additions and 2 deletions
|
@ -310,9 +310,10 @@ def main():
|
|||
category_list_file.write("============\n")
|
||||
category_list_file.write("\n\n")
|
||||
category_list_file.write(".. toctree::\n")
|
||||
category_list_file.write(" :maxdepth: 1\n\n")
|
||||
|
||||
for category in category_names:
|
||||
category_list_file.write(" list_of_%s_modules\n" % category)
|
||||
category_list_file.write(" list_of_%s_modules\n" % category)
|
||||
process_category(category, categories, options, env, template, outputname)
|
||||
|
||||
category_list_file.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue