From 1fbb91a1aafb11649db34ea550435f2876c6c40f Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Mon, 17 Nov 2014 16:23:33 +0100 Subject: [PATCH] doc/apidoc: enable intersphinx to docs.python.org --- doc/apidoc/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/apidoc/conf.py b/doc/apidoc/conf.py index b01d733d..8399d849 100644 --- a/doc/apidoc/conf.py +++ b/doc/apidoc/conf.py @@ -29,7 +29,7 @@ sys.path.insert(0, os.path.abspath('../../')) # 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', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.viewcode'] -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.viewcode'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.viewcode'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -251,4 +251,5 @@ texinfo_documents = [ # Example configuration for intersphinx: refer to the Python standard library. -#intersphinx_mapping = {'http://docs.python.org/': None} +intersphinx_mapping = { + 'python': ('http://docs.python.org/', None)}