summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2019-02-01 15:42:48 -0500
committerTim Graham <timograham@gmail.com>2019-02-01 15:49:47 -0500
commitf30467fe1db618bb7bcea3569a7468413c9ad6ba (patch)
treefce2648f70ad7f110859e20f10c9c9d28dd30dd4 /docs/conf.py
parent86f0779d09f97af0dc835aa83fab42cbdc34bb7b (diff)
[2.1.x] Used extlinks for GitHub commits.
Backport of c34c6d0a2fc6d9bc55fb2db94b9ed40141babb15 from master.
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 8fc0f202c2..13d6780eba 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -44,6 +44,7 @@ extensions = [
]
extlinks = {
+ 'commit': ('https://github.com/django/django/commit/%s', ''),
'cve': ('https://nvd.nist.gov/view/vuln/detail?vulnId=%s', 'CVE-'),
'ticket': ('https://code.djangoproject.com/ticket/%s', '#'),
}