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 09f4ed3
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,26 @@

# 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",
".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 09f4ed3

Please sign in to comment.