|
|
|
@ -90,7 +90,8 @@ class DocCLI(CLI):
|
|
|
|
for module in self.args:
|
|
|
|
for module in self.args:
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
filename = module_loader.find_plugin(module)
|
|
|
|
# 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')
|
|
|
|
if filename is None:
|
|
|
|
if filename is None:
|
|
|
|
display.warning("module %s not found in %s\n" % (module, DocCLI.print_paths(module_loader)))
|
|
|
|
display.warning("module %s not found in %s\n" % (module, DocCLI.print_paths(module_loader)))
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
@ -167,7 +168,8 @@ class DocCLI(CLI):
|
|
|
|
if module in module_docs.BLACKLIST_MODULES:
|
|
|
|
if module in module_docs.BLACKLIST_MODULES:
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
|
|
|
|
|
|
|
|
filename = module_loader.find_plugin(module)
|
|
|
|
# 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')
|
|
|
|
|
|
|
|
|
|
|
|
if filename is None:
|
|
|
|
if filename is None:
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
|