Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Document the PEPs API
  • Loading branch information
hugovk committed Jul 14, 2024
commit 8e5eba6cc4accd03d8660027f1dabca1e6f4c680
5 changes: 4 additions & 1 deletion peps/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,20 @@
".rst": "pep",
}

# List of patterns (relative to source dir) to ignore when looking for source files.
# List of patterns (relative to source dir) to include when looking for source files.
include_patterns = [
# Required for Sphinx
"contents.rst",
# PEP files
"pep-????.rst",
# PEP ancillary files
"pep-????/*.rst",
# PEPs API
"api/*.rst",
# Documentation
"docs/*.rst",
]
# And to ignore when looking for source files.
exclude_patterns = [
# PEP Template
"pep-0012/pep-NNNN.rst",
Expand Down
1 change: 1 addition & 0 deletions peps/contents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ This is an internal Sphinx page; please go to the :doc:`PEP Index <pep-0000>`.
:caption: PEP Table of Contents (needed for Sphinx):

pep-*
api/*
topic/*