mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Add version_added to all modules missing version_added information, the docs formatter will now
raise errors when omitted, updated changelog with new modules.
This commit is contained in:
parent
f5aacebbbd
commit
f7c3975f21
46 changed files with 99 additions and 28 deletions
|
@ -362,6 +362,13 @@ def main():
|
|||
if not doc is None:
|
||||
|
||||
all_keys = []
|
||||
|
||||
if not 'version_added' in doc:
|
||||
sys.stderr.write("*** ERROR: missing version_added in: %s ***\n" % module)
|
||||
sys.exit(1)
|
||||
if doc['version_added'] == 'historical':
|
||||
del doc['version_added']
|
||||
|
||||
for (k,v) in doc['options'].iteritems():
|
||||
all_keys.append(k)
|
||||
all_keys = sorted(all_keys)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue