diff options
| author | Tim Graham <timograham@gmail.com> | 2016-09-26 15:37:08 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-09-26 15:48:40 -0400 |
| commit | a46742e738b91f79dd7b2e6ecba6dd1604e14d05 (patch) | |
| tree | 9a55bc1a812291bc6509f8db5a94ff51db66895e /docs/conf.py | |
| parent | 8d233a2132c20d85f4e863a3eb62168f667c45df (diff) | |
Added a CVE role for Sphinx.
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 5cb5734f36..f25ea37158 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' |
