mirror of https://github.com/django/django.git
[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
This commit is contained in:
parent
9f9fdc4b0a
commit
477ab02312
|
@ -31,7 +31,7 @@ needs_sphinx = '1.0'
|
||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# 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.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
# templates_path = []
|
# templates_path = []
|
||||||
|
|
Loading…
Reference in New Issue