Add PEP substitution in changelog.

master
Jason R. Coombs 7 years ago
parent 9f6eea591e
commit 21a4e86e6f
  1. 4
      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}/',
),
],
),
}

Loading…
Cancel
Save