Commit 5ab44677 by Brian Coca

module formatter skips modules with leading underscore to avoid

documenting them. Soon will be patched to recognize them as either
deprecated or an alias
parent b3b35648
...@@ -128,6 +128,9 @@ def list_modules(module_dir): ...@@ -128,6 +128,9 @@ def list_modules(module_dir):
files2 = glob.glob("%s/*" % d) files2 = glob.glob("%s/*" % d)
for f in files2: for f in files2:
if os.path.basename(f).startswith("_"): # skip deprecated/aliases for now
continue
if not f.endswith(".py") or f.endswith('__init__.py'): if not f.endswith(".py") or f.endswith('__init__.py'):
# windows powershell modules have documentation stubs in python docstring # windows powershell modules have documentation stubs in python docstring
# format (they are not executed) so skip the ps1 format files # format (they are not executed) so skip the ps1 format files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment