diff --git a/source/conf.py b/source/conf.py index 8ec17f7..b5d78fc 100644 --- a/source/conf.py +++ b/source/conf.py @@ -31,7 +31,7 @@ # 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.githubpages'] +extensions = ['sphinx.ext.githubpages', 'sphinx.ext.intersphinx'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -198,3 +198,13 @@ epub_exclude_files = ['search.html'] +# -- Options for intersphinx ---------------------------------------------- + +intersphinx_mapping = { + 'python': ('https://docs.python.org/3', None), + 'django': ( + 'http://docs.djangoproject.com/en/stable/', + 'http://docs.djangoproject.com/en/stable/_objects/' + ), +} +