Commit 7bd2c945 by Brian Coca

now doc generation does not ignore subdirs of cloud

parent 80b1365d
......@@ -129,9 +129,11 @@ def list_modules(module_dir):
if os.path.isdir(d):
files2 = glob.glob("%s/*" % d) + glob.glob("%s/*/*" % d)
for f in files2:
module = os.path.splitext(os.path.basename(f))[0]
category = "cloud"
if os.path.dirname(f).split("/")[-2] != "cloud":
if os.path.dirname(f).split("/")[-2] == "cloud":
category = "cloud"
else:
category = os.path.dirname(f).split("/")[-1]
if not f.endswith(".py") or f.endswith('__init__.py'):
......
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