1
0
mirror of https://github.com/django/django.git synced 2025-10-26 23:26:08 +00:00

[1.10.x] Added a CVE role for Sphinx.

Backport of a46742e738 from master
This commit is contained in:
Tim Graham
2016-09-26 15:37:08 -04:00
parent 8fec24f7c3
commit 550fa7b892
3 changed files with 258 additions and 201 deletions

View File

@@ -45,6 +45,7 @@ extensions = [
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
"ticket_role",
"cve_role",
]
# Spelling check needs an additional module that is not installed by default.
@@ -376,5 +377,6 @@ epub_cover = ('', 'epub-cover.html')
# If false, no index is generated.
# epub_use_index = True
# -- ticket options ------------------------------------------------------------
# -- custom extension options --------------------------------------------------
cve_url = 'https://web.nvd.nist.gov/view/vuln/detail?vulnId=%s'
ticket_url = 'https://code.djangoproject.com/ticket/%s'