1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed #17238 -- Added source code links to docs using sphinx.ext.viewcode.

Thanks santiagobasulto for the suggestion.
This commit is contained in:
Tim Graham 2014-06-07 08:54:54 -04:00
parent cfcca7ccce
commit 9ed4a8c6b1

View File

@ -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.