diff options
author | Steve Piercy <web@stevepiercy.com> | 2016-10-22 11:59:52 -0400 |
---|---|---|
committer | Steve Piercy <web@stevepiercy.com> | 2016-10-22 11:59:52 -0400 |
commit | 15c15f47ea733397eb076ca50b8cdf67c80a0acc (patch) | |
tree | c376a08fc2e39553bfd740a223385b6b5156b94b | |
parent | 2cc5720bbc784f206474e54e23836df91346c429 (diff) | |
download | waitress-15c15f47ea733397eb076ca50b8cdf67c80a0acc.tar.gz |
add canonical_url to Sphinx config
-rw-r--r-- | docs/conf.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index efaa907..2d2a0db 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -91,7 +91,10 @@ pygments_style = 'sphinx' # Add and use Pylons theme html_theme = 'pylons' html_theme_path = pylons_sphinx_themes.get_html_themes_path() -html_theme_options = dict(github_url='http://github.com/Pylons/waitress') +html_theme_options = dict( + github_url='http://github.com/Pylons/waitress', + canonical_url='http://docs.pylonsproject.org/projects/waitress/en/latest/' +) # The style sheet to use for HTML and HTML Help pages. A file of that name # must exist either in Sphinx' static/ path, or in one of the custom paths |