summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Withers <chris@simplistix.co.uk>2020-03-11 17:10:35 +0000
committerChris Withers <chris@withers.org>2020-03-11 17:25:49 +0000
commitb5ce0a5c4d372b77deff46fec8edf974d7d1f875 (patch)
tree7ddd1306aaef61cf7e75f6fb269b87e2841d06d4
parent87546bf7b90531e70419e6343c0938dcab3fb36b (diff)
downloadmock-b5ce0a5c4d372b77deff46fec8edf974d7d1f875.tar.gz
Add intersphinx.
-rw-r--r--docs/conf.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 0197463..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