just remove version_added when to old, not the whole option!
This commit is contained in:
parent
11be1ff2d4
commit
740f15cb0d
1 changed files with 0 additions and 1 deletions
|
@ -291,7 +291,6 @@ def process_module(module, options, env, template, outputname, module_map, alias
|
||||||
# don't show version added information if it's too old to be called out
|
# don't show version added information if it's too old to be called out
|
||||||
if 'version_added' in doc['options'][k] and too_old(doc['options'][k]['version_added']):
|
if 'version_added' in doc['options'][k] and too_old(doc['options'][k]['version_added']):
|
||||||
del doc['options'][k]['version_added']
|
del doc['options'][k]['version_added']
|
||||||
continue
|
|
||||||
all_keys.append(k)
|
all_keys.append(k)
|
||||||
|
|
||||||
all_keys = sorted(all_keys)
|
all_keys = sorted(all_keys)
|
||||||
|
|
Loading…
Reference in a new issue