mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Docs on parameterized roles, make document generation output less noisy
This commit is contained in:
parent
7037023aa8
commit
148d8859ba
4 changed files with 186 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue