diff options
author | Chris Withers <chris@simplistix.co.uk> | 2020-03-11 17:10:35 +0000 |
---|---|---|
committer | Chris Withers <chris@withers.org> | 2020-03-11 17:25:49 +0000 |
commit | b5ce0a5c4d372b77deff46fec8edf974d7d1f875 (patch) | |
tree | 7ddd1306aaef61cf7e75f6fb269b87e2841d06d4 | |
parent | 87546bf7b90531e70419e6343c0938dcab3fb36b (diff) | |
download | mock-b5ce0a5c4d372b77deff46fec8edf974d7d1f875.tar.gz |
Add intersphinx.
-rw-r--r-- | docs/conf.py | 8 |
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 |