mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Fix module formatter indexing
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user