We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 485fb4d commit 877c890Copy full SHA for 877c890
tests/functional/docs/test_examples.py
@@ -84,7 +84,10 @@ def _get_all_doc_examples():
84
for root, _, filenames in os.walk(EXAMPLES_DIR):
85
for filename in filenames:
86
full_path = os.path.join(root, filename)
87
- if not filename.endswith('.rst'):
+ if filename.startswith('.'):
88
+ # Ignore hidden files as it starts with "."
89
+ continue
90
+ if not filename.endswith('.rst'):
91
other_doc_examples.append(full_path)
92
continue
93
rst_doc_examples.append(full_path)
0 commit comments