mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Docs: Fix the module formatter code that is intended to remove the 'historical' variable from showing up in version_added information (RST)
This commit is contained in:
@@ -366,8 +366,8 @@ def main():
|
||||
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']
|
||||
if doc['version_added'] == 'historical':
|
||||
del doc['version_added']
|
||||
|
||||
for (k,v) in doc['options'].iteritems():
|
||||
all_keys.append(k)
|
||||
|
||||
Reference in New Issue
Block a user