From 465b83bb026ad33a9a518b699e913216beaad32e Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Thu, 6 Sep 2018 03:04:21 -0700 Subject: Add intersphinx; turn off smart quotes; remove unused imports --- docs/conf.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index a380953..197acf1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,7 +17,6 @@ # make it absolute, like shown here. #sys.path.append(os.path.abspath('some/directory')) -import sys, os import datetime import pkg_resources import pylons_sphinx_themes @@ -29,7 +28,12 @@ import pylons_sphinx_themes # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ 'sphinx.ext.autodoc', - ] + 'sphinx.ext.intersphinx', +] + +intersphinx_mapping = { + 'python': ('https://docs.python.org/3/', None), +} # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -86,6 +90,9 @@ add_module_names = False # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' +# Do not use smart quotes. +smartquotes = False + # Options for HTML output # ----------------------- -- cgit v1.2.1