diff options
| author | Tim Graham <timograham@gmail.com> | 2014-06-07 08:54:54 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-06-07 08:54:54 -0400 |
| commit | 9ed4a8c6b1a552a03fd27b77f1b742e3f9c66bde (patch) | |
| tree | 431dd5dcb8122245372ea233fc54a7344f7a2baf /docs/conf.py | |
| parent | cfcca7ccce3dc527d16757ff6dc978e50c4a2e61 (diff) | |
Fixed #17238 -- Added source code links to docs using sphinx.ext.viewcode.
Thanks santiagobasulto for the suggestion.
Diffstat (limited to 'docs/conf.py')
| -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 244ccb2d8d..af84ce7e7c 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"] # Spelling check needs an additional module that is not installed by default. # Add it only if spelling check is requested so docs can be generated without it. |
