summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-11-27 04:58:47 -0800
committerSteve Piercy <web@stevepiercy.com>2018-11-27 04:58:47 -0800
commit00b791de28f6862a8b533d5787ca622b3123a9f6 (patch)
tree1c907003997716388018d4be55ed29759f3c7d78 /docs/conf.py
parent5308aca631e72f4641db35061f6a58a588bd398a (diff)
downloadpastedeploy-git-00b791de28f6862a8b533d5787ca622b3123a9f6.tar.gz
Add intersphinx and configure Python docs
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py10
1 files changed, 9 insertions, 1 deletions
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']