Used extlinks for Django's source code.

This commit is contained in:
Tim Graham 2019-03-28 20:32:17 -04:00 committed by GitHub
parent 8e675e2bd8
commit a68c029e22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 31 additions and 58 deletions

View file

@ -46,6 +46,8 @@ extensions = [
extlinks = {
'commit': ('https://github.com/django/django/commit/%s', ''),
'cve': ('https://nvd.nist.gov/view/vuln/detail?vulnId=%s', 'CVE-'),
# A file or directory. GitHub redirects from blob to tree if needed.
'source': ('https://github.com/django/django/blob/master/%s', ''),
'ticket': ('https://code.djangoproject.com/ticket/%s', '#'),
}