Ignore powershell implementation files with ansible-doc as documentation lives in Python stubs.
This commit is contained in:
parent
b69f096e8a
commit
5a2fd5c612
1 changed files with 2 additions and 1 deletions
|
@ -174,6 +174,8 @@ def get_module_list_text(module_list):
|
||||||
|
|
||||||
if filename is None:
|
if filename is None:
|
||||||
continue
|
continue
|
||||||
|
if filename.endswith(".ps1"):
|
||||||
|
continue
|
||||||
if os.path.isdir(filename):
|
if os.path.isdir(filename):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
@ -186,7 +188,6 @@ def get_module_list_text(module_list):
|
||||||
except:
|
except:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
sys.stderr.write("ERROR: module %s has a documentation error formatting or is missing documentation\n" % module)
|
sys.stderr.write("ERROR: module %s has a documentation error formatting or is missing documentation\n" % module)
|
||||||
pass
|
|
||||||
return "\n".join(text)
|
return "\n".join(text)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Loading…
Reference in a new issue