Skip to content

Commit 15c15f4

Browse files
committed
add canonical_url to Sphinx config
1 parent 2cc5720 commit 15c15f4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@
9191
# Add and use Pylons theme
9292
html_theme = 'pylons'
9393
html_theme_path = pylons_sphinx_themes.get_html_themes_path()
94-
html_theme_options = dict(github_url='http://github.com/Pylons/waitress')
94+
html_theme_options = dict(
95+
github_url='http://github.com/Pylons/waitress',
96+
canonical_url='http://docs.pylonsproject.org/projects/waitress/en/latest/'
97+
)
9598

9699
# The style sheet to use for HTML and HTML Help pages. A file of that name
97100
# must exist either in Sphinx' static/ path, or in one of the custom paths

0 commit comments

Comments
 (0)