diff options
| author | Tim Graham <timograham@gmail.com> | 2014-06-07 08:54:54 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-19 17:45:38 -0400 |
| commit | 477ab02312d47969bdfd7c1616da27379bb1b967 (patch) | |
| tree | a8f470f307ae05e0a6147d367c85af44ca6ff2a4 /docs | |
| parent | 9f9fdc4b0a33abfe3255302300ea1e3d1c33a3a0 (diff) | |
[1.6.x] Fixed #17238 -- Added source code links to docs using sphinx.ext.viewcode.
Thanks santiagobasulto for the suggestion.
Backport of 9ed4a8c6b1 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 384825d040..09715a08c8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,7 +31,7 @@ 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"] +extensions = ["djangodocs", "sphinx.ext.intersphinx", "sphinx.ext.viewcode"] # Add any paths that contain templates here, relative to this directory. # templates_path = [] |
