Skip to content

Commit

Permalink
Infra: More clearly define, describe and organize exclude patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
CAM-Gerlach committed Mar 12, 2022
1 parent 866f230 commit 4e93e21
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,28 @@

# List of patterns (relative to source dir) to ignore when looking for source files.
exclude_patterns = [
# .txt files in subdirs
# Any .txt files in subdirectories:
"**/*.txt",
# .txt files in the root not matching PEP pattern
# Non-PEP .txt files in the root (i.e. not "pep-[0-9][0-9][0-9][0-9].txt"):
"*[!0-9].txt",
"*[!0-9]?.txt",
"*[!0-9]??.txt",
"*[!0-9]???.txt",
"*[!p]?????.txt",
"*[!e]??????.txt",
"*[!p]???????.txt",
# Windows:
"Thumbs.db",
# macOS:
".DS_Store",
# Git
".git",
# Sphinx:
"build",
# PEPs:
"pep-0012/*",
# Meta files:
"README.rst",
"CONTRIBUTING.rst",
"pep_sphinx_extensions/LICENCE.rst",
# Non-built files:
"pep-0012/pep-NNNN.rst",
]

# -- Options for HTML output -------------------------------------------------
Expand Down

0 comments on commit 4e93e21

Please sign in to comment.