summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-10-22 11:59:52 -0400
committerSteve Piercy <web@stevepiercy.com>2016-10-22 11:59:52 -0400
commit15c15f47ea733397eb076ca50b8cdf67c80a0acc (patch)
treec376a08fc2e39553bfd740a223385b6b5156b94b
parent2cc5720bbc784f206474e54e23836df91346c429 (diff)
downloadwaitress-15c15f47ea733397eb076ca50b8cdf67c80a0acc.tar.gz
add canonical_url to Sphinx config
-rw-r--r--docs/conf.py5
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