Skip to content

Commit

Permalink
fix unwanted file generation
Browse files Browse the repository at this point in the history
  • Loading branch information
lawndoc committed Aug 28, 2023
1 parent f1b7855 commit e6f6686
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions docs/_includes/index.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/_layouts/index.md

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/index_dirs.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

for subdir, dirs, files in os.walk(rootdir):
for directory in dirs:
if directory.lower().endswith(".dll") or directory.lower().endswith(".exe"):
if directory.lower().endswith(".dll") or directory.lower().endswith(".exe") or directory.beginswith("_"):
pass
elif os.path.exists(f"{subdir}/{directory}/index.md"):
pass
Expand Down

0 comments on commit e6f6686

Please sign in to comment.