summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-06-07 08:54:54 -0400
committerTim Graham <timograham@gmail.com>2014-08-19 17:45:30 -0400
commitdc9751a6e7009290b1515934ccf771e2306aa4ab (patch)
tree45b151dbffdf6cbc5e1894b664fefdb28048d03f /docs
parent72ad014b6aee3e8d996af4646b97228e82fc4cc1 (diff)
[1.7.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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 1314b4da1e..5e89e59d76 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.