diff options
| author | Tim Graham <timograham@gmail.com> | 2016-09-26 15:37:08 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-09-26 18:22:14 -0400 |
| commit | 550fa7b8927f7c7a55b66c20eb5cf37ce933c075 (patch) | |
| tree | 3b75efb52dc1edee42b5292b6720e5fd504494a6 /docs/conf.py | |
| parent | 8fec24f7c3a0e070fa5bc43b7b631d4a0cefd1c2 (diff) | |
[1.10.x] Added a CVE role for Sphinx.
Backport of a46742e738b91f79dd7b2e6ecba6dd1604e14d05 from master
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 0d1c18e26a..8c89265937 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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' |
