diff options
author | Steve Piercy <web@stevepiercy.com> | 2018-09-06 03:04:21 -0700 |
---|---|---|
committer | Steve Piercy <web@stevepiercy.com> | 2018-09-06 03:04:21 -0700 |
commit | 465b83bb026ad33a9a518b699e913216beaad32e (patch) | |
tree | 5097b75af14c62c73b5815cbb8983d19c8cf874c | |
parent | 580e12a3b473872f3c728509f8c13e22553e2a1e (diff) | |
download | waitress-465b83bb026ad33a9a518b699e913216beaad32e.tar.gz |
Add intersphinx; turn off smart quotes; remove unused imports
-rw-r--r-- | docs/conf.py | 11 |
1 files 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 # ----------------------- |