mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Fix module formatter indexing
This commit is contained in:
parent
e170d7304b
commit
761330b125
43 changed files with 45 additions and 43 deletions
|
@ -262,7 +262,7 @@ def main():
|
|||
template = env.get_template('rst.j2')
|
||||
outputname = "%s.rst"
|
||||
includecmt = ".. Generated by module_formatter\n"
|
||||
includefmt = ".. include:: %s.rst\n"
|
||||
includefmt = ".. include:: modules/%s.rst\n"
|
||||
if args.type == 'json':
|
||||
env.filters['jpfunc'] = json_ify
|
||||
outputname = "%s.json"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue