summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-04-04 08:32:28 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-04-04 08:32:28 -0400
commit48b63f309650af9e43368cf0d6792ea247ad8663 (patch)
tree1c9bbeda525f231bd671c9e9f7ea3c3eedcb5854 /docs/conf.py
parent1bf92e3a3cc1e246b1ecc05c63287bb177939efa (diff)
parent9803058dc72867605bdac20d41249c00e8eae415 (diff)
downloadpython-setuptools-git-48b63f309650af9e43368cf0d6792ea247ad8663.tar.gz
Merge with master
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py16
1 files changed, 12 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 846e4b3e..8bba3e94 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -196,7 +196,7 @@ latex_documents = [
#latex_use_modindex = True
link_files = {
- 'CHANGES.txt': dict(
+ 'CHANGES.rst': dict(
using=dict(
BB='https://bitbucket.org',
GH='https://github.com',
@@ -204,11 +204,11 @@ link_files = {
replace=[
dict(
pattern=r"(Issue )?#(?P<issue>\d+)",
- url='{BB}/pypa/setuptools/issue/{issue}',
+ url='{GH}/pypa/setuptools/issues/{issue}',
),
dict(
- pattern=r"Pull Request ?#(?P<pull_request>\d+)",
- url='{BB}/pypa/setuptools/pull-request/{pull_request}',
+ pattern=r"BB Pull Request ?#(?P<bb_pull_request>\d+)",
+ url='{BB}/pypa/setuptools/pull-request/{bb_pull_request}',
),
dict(
pattern=r"Distribute #(?P<distribute>\d+)",
@@ -246,6 +246,14 @@ link_files = {
pattern=r"[Pp]ackaging (?P<packaging_ver>\d+(\.\d+)+)",
url='{GH}/pypa/packaging/blob/{packaging_ver}/CHANGELOG.rst',
),
+ dict(
+ pattern=r"PEP[- ](?P<pep_number>\d+)",
+ url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
+ ),
+ dict(
+ pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
+ with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
+ ),
],
),
}