summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/docs/conf.py b/docs/conf.py
index e978b46..d2be5a5 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,13 +26,7 @@ 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.intersphinx',
- ]
-
-intersphinx_mapping = {
- 'python': ('http://docs.python.org/dev', None),
-}
+extensions = ['sphinx.ext.doctest']
doctest_global_setup = """
import os
@@ -77,7 +71,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.__version__
+version = release = mock.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)