mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
52b2cfedfc
commit
51e6f411f2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue