[Compress][Added] Better subdirs support for outputs
- Multiple dirs - Recursive subdirs
This commit is contained in:
parent
0e37d40d2f
commit
23427f75e1
|
|
@ -180,7 +180,7 @@ class CompressOptions(BaseOptions):
|
||||||
# - We must parse the input markdown
|
# - We must parse the input markdown
|
||||||
# - We must coinfigure and use the renderer output to do the file name expansion
|
# - We must coinfigure and use the renderer output to do the file name expansion
|
||||||
# This is almost as complex as generating the whole output, so it adds the dir
|
# This is almost as complex as generating the whole output, so it adds the dir
|
||||||
extra_files = glob.iglob(os.path.join(file, '**'))
|
extra_files += glob.glob(os.path.join(file, '**'), recursive=True)
|
||||||
if extra_files:
|
if extra_files:
|
||||||
files_list += extra_files
|
files_list += extra_files
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue