Skip to content

Commit a2c48ff

Browse files
committed
skip node_modules in glob
1 parent 80f11af commit a2c48ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/_exts/autogen_api_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def generate_api_docs():
2929
"private.misc": [PRIVATE_MISC_TITLE],
3030
}
3131

32-
for file in sorted(PACKAGE_SRC.glob("**/*.py")):
32+
for file in sorted(PACKAGE_SRC.glob("[!node_modules]/**/*.py")):
3333
if file.stem.startswith("__"):
3434
# skip __init__ and __main__
3535
continue

0 commit comments

Comments
 (0)