summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-12-19 19:23:29 -0500
committerGitHub <noreply@github.com>2021-12-19 19:23:29 -0500
commited23173bceca05b0c5b05cfab8e201dd1f31c99f (patch)
tree2c5d9dfed2d51472b2bc1396278c8a05a266dd6c
parent9a783c2cd92d583d86b54d8460ba643c8b5cfa58 (diff)
parent2f520ab58a202228a35f532e18ccae0f935260da (diff)
downloadpython-setuptools-git-ed23173bceca05b0c5b05cfab8e201dd1f31c99f.tar.gz
Merge pull request #2934 from aphedges/2884-fix-distutils-commit-links
Render `distutils` commit links properly in documentation
-rw-r--r--docs/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 3cc8e35b..f6ccff0f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -69,6 +69,10 @@ link_files = {
url='{GH}/pypa/distutils/issues/{distutils}',
),
dict(
+ pattern=r'pypa/distutils@(?P<distutils_commit>[\da-f]+)',
+ url='{GH}/pypa/distutils/commit/{distutils_commit}',
+ ),
+ dict(
pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
),