From 00b791de28f6862a8b533d5787ca622b3123a9f6 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Tue, 27 Nov 2018 04:58:47 -0800 Subject: Add intersphinx and configure Python docs --- docs/conf.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index 7cffcb2..8ac46d7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,7 +23,15 @@ import pylons_sphinx_themes # 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.autodoc'] +extensions = [ + 'sphinx.ext.autodoc', + 'sphinx.ext.intersphinx', +] + +# Looks for objects in external projects +intersphinx_mapping = { + 'python': ('https://docs.python.org/3/', None), +} # Add any paths that contain templates here, relative to this directory. # templates_path = ['_templates'] -- cgit v1.2.1