Ignore files starting with _
This commit is contained in:
parent
d9a7954c18
commit
11a96f1b87
1 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,10 @@ class TocBuilder:
|
||||||
if dname == "":
|
if dname == "":
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# skip files starting with '_'
|
||||||
|
if bname_split[0][0] == '_':
|
||||||
|
continue
|
||||||
|
|
||||||
# skip index files
|
# skip index files
|
||||||
if bname_split[0] == 'index':
|
if bname_split[0] == 'index':
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue