now doc generation does not ignore subdirs of cloud
This commit is contained in:
parent
80b1365d53
commit
7bd2c945a7
1 changed files with 4 additions and 2 deletions
|
@ -129,9 +129,11 @@ def list_modules(module_dir):
|
||||||
if os.path.isdir(d):
|
if os.path.isdir(d):
|
||||||
files2 = glob.glob("%s/*" % d) + glob.glob("%s/*/*" % d)
|
files2 = glob.glob("%s/*" % d) + glob.glob("%s/*/*" % d)
|
||||||
for f in files2:
|
for f in files2:
|
||||||
|
|
||||||
module = os.path.splitext(os.path.basename(f))[0]
|
module = os.path.splitext(os.path.basename(f))[0]
|
||||||
|
if os.path.dirname(f).split("/")[-2] == "cloud":
|
||||||
category = "cloud"
|
category = "cloud"
|
||||||
if os.path.dirname(f).split("/")[-2] != "cloud":
|
else:
|
||||||
category = os.path.dirname(f).split("/")[-1]
|
category = os.path.dirname(f).split("/")[-1]
|
||||||
|
|
||||||
if not f.endswith(".py") or f.endswith('__init__.py'):
|
if not f.endswith(".py") or f.endswith('__init__.py'):
|
||||||
|
|
Loading…
Reference in a new issue