diff options
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index d2be5a5..e978b46 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,7 +26,13 @@ import mock # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.doctest'] +extensions = [ + 'sphinx.ext.intersphinx', + ] + +intersphinx_mapping = { + 'python': ('http://docs.python.org/dev', None), +} doctest_global_setup = """ import os @@ -71,7 +77,7 @@ copyright = u'2007-2015, Michael Foord & the mock team' # The default replacements for |version| and |release|, also used in various # other places throughout the built documents. Supplied by pbr. # -version = release = mock.mock.__version__ +version = release = mock.__version__ # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: (Set from pbr) |