diff options
| author | Tim Graham <timograham@gmail.com> | 2014-08-19 10:22:51 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-19 17:47:21 -0400 |
| commit | 48368d421cfd1ebef3217d44c349f5dcd6f0ec9d (patch) | |
| tree | 08ae82c617af82b2ed3934d4e69c3fa946dc3414 /docs/conf.py | |
| parent | 477ab02312d47969bdfd7c1616da27379bb1b967 (diff) | |
[1.6.x] Added sphinx extension to ease generation of ticket links.
Backport of fca677fa43 from master
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 09715a08c8..84cd7f8d3d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,7 +31,12 @@ needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ["djangodocs", "sphinx.ext.intersphinx", "sphinx.ext.viewcode"] +extensions = [ + "djangodocs", + "sphinx.ext.intersphinx", + "sphinx.ext.viewcode", + "ticket_role", +] # Add any paths that contain templates here, relative to this directory. # templates_path = [] @@ -308,3 +313,6 @@ epub_copyright = '2010, Django Software Foundation' # Allow duplicate toc entries. #epub_tocdup = True + +# -- ticket options ------------------------------------------------------------ +ticket_url = 'https://code.djangoproject.com/ticket/%s' |
