mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
ansible doc does not need plugin deprecation error
This commit is contained in:
parent
2ea5bb8dbb
commit
74421f42e1
2 changed files with 4 additions and 4 deletions
|
@ -99,7 +99,7 @@ class DocCLI(CLI):
|
|||
|
||||
try:
|
||||
# if the module lives in a non-python file (eg, win_X.ps1), require the corresponding python file for docs
|
||||
filename = module_loader.find_plugin(module, mod_type='.py')
|
||||
filename = module_loader.find_plugin(module, mod_type='.py', ignore_deprecated=True)
|
||||
if filename is None:
|
||||
display.warning("module %s not found in %s\n" % (module, DocCLI.print_paths(module_loader)))
|
||||
continue
|
||||
|
@ -185,7 +185,7 @@ class DocCLI(CLI):
|
|||
continue
|
||||
|
||||
# if the module lives in a non-python file (eg, win_X.ps1), require the corresponding python file for docs
|
||||
filename = module_loader.find_plugin(module, mod_type='.py')
|
||||
filename = module_loader.find_plugin(module, mod_type='.py', ignore_deprecated=True)
|
||||
|
||||
if filename is None:
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue