mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Ignore powershell implementation files with ansible-doc as documentation lives in Python stubs.
This commit is contained in:
@@ -174,6 +174,8 @@ def get_module_list_text(module_list):
|
||||
|
||||
if filename is None:
|
||||
continue
|
||||
if filename.endswith(".ps1"):
|
||||
continue
|
||||
if os.path.isdir(filename):
|
||||
continue
|
||||
|
||||
@@ -186,7 +188,6 @@ def get_module_list_text(module_list):
|
||||
except:
|
||||
traceback.print_exc()
|
||||
sys.stderr.write("ERROR: module %s has a documentation error formatting or is missing documentation\n" % module)
|
||||
pass
|
||||
return "\n".join(text)
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user