summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-01-23 07:10:36 -0500
committerJason R. Coombs <jaraco@jaraco.com>2017-01-23 07:10:36 -0500
commit21a4e86e6fef7fba92afb4bcb49d79859d0cb2b2 (patch)
tree658db871199a950e7da3a6aafa552e16b6867558
parent9f6eea591eaae483be11d13ebad06958a6a1e2c8 (diff)
downloadpytest-runner-21a4e86e6fef7fba92afb4bcb49d79859d0cb2b2.tar.gz
Add PEP substitution in changelog.
-rw-r--r--docs/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 7402f72..8639b2c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -42,6 +42,10 @@ link_files = {
pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
),
+ dict(
+ pattern=r"PEP[- ](?P<pep_number>\d+)",
+ url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
+ ),
],
),
}