diff options
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py index 9640e2ed..4bb4f4c5 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -5,8 +5,10 @@ import re import sphinx + extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', - 'sphinx.ext.autosummary', 'sphinx.ext.extlinks'] + 'sphinx.ext.autosummary', 'sphinx.ext.extlinks', + 'sphinx.ext.viewcode'] master_doc = 'contents' templates_path = ['_templates'] @@ -82,7 +84,7 @@ texinfo_documents = [ # We're not using intersphinx right now, but if we did, this would be part of # the mapping: -intersphinx_mapping = {'python': ('http://docs.python.org/dev', None)} +intersphinx_mapping = {'python': ('http://docs.python.org/2/', None)} # Sphinx document translation with sphinx gettext feature uses these settings: locale_dirs = ['locale/'] |