mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
now module_formatter handles new expanded return values from the module_docs (still does not thing with new return value docs)
This commit is contained in:
@@ -236,7 +236,7 @@ def process_module(module, options, env, template, outputname, module_map, alias
|
||||
print "rendering: %s" % module
|
||||
|
||||
# use ansible core library to parse out doc metadata YAML and plaintext examples
|
||||
doc, examples = ansible.utils.module_docs.get_docstring(fname, verbose=options.verbose)
|
||||
doc, examples, returndocs= ansible.utils.module_docs.get_docstring(fname, verbose=options.verbose)
|
||||
|
||||
# crash if module is missing documentation and not explicitly hidden from docs index
|
||||
if doc is None:
|
||||
|
||||
Reference in New Issue
Block a user