1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02: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:
Brian Coca 2015-02-19 18:07:05 -05:00
parent e842f8fab9
commit ee08448b2e

View file

@ -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: