mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Docs on parameterized roles, make document generation output less noisy
This commit is contained in:
@@ -286,7 +286,7 @@ def main():
|
||||
if fname.endswith(".swp") or fname.endswith(".orig") or fname.endswith(".rej"):
|
||||
continue
|
||||
|
||||
print " processing module source ---> %s" % fname
|
||||
# print " processing module source ---> %s" % fname
|
||||
|
||||
if options.type == 'js':
|
||||
if fname.endswith(".json"):
|
||||
@@ -299,6 +299,7 @@ def main():
|
||||
doc, examples = ansible.utils.module_docs.get_docstring(fname, verbose=options.verbose)
|
||||
|
||||
if doc is None and module not in ansible.utils.module_docs.BLACKLIST_MODULES:
|
||||
print " while processing module source ---> %s" % fname
|
||||
sys.stderr.write("*** ERROR: CORE MODULE MISSING DOCUMENTATION: %s ***\n" % module)
|
||||
#sys.exit(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user