Docsite things.

This commit is contained in:
Michael DeHaan 2014-06-18 15:21:52 -05:00 committed by Matt Martz
parent b22e2160cf
commit dfd4f18095
4 changed files with 19 additions and 14 deletions

View file

@ -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]