mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Docsite things.
This commit is contained in:
parent
b22e2160cf
commit
dfd4f18095
4 changed files with 19 additions and 14 deletions
|
@ -123,6 +123,12 @@ def list_modules(module_dir):
|
|||
if os.path.isdir(d):
|
||||
files2 = glob.glob("%s/*" % d)
|
||||
for f in files2:
|
||||
|
||||
if f.endswith(".ps1"):
|
||||
# windows powershell modules have documentation stubs in python docstring
|
||||
# format (they are not executed) so skip the ps1 format files
|
||||
continue
|
||||
|
||||
tokens = f.split("/")
|
||||
module = tokens[-1]
|
||||
category = tokens[-2]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue