Skip to content

Commit

Permalink
Merge pull request #143 from stevepiercy/master
Browse files Browse the repository at this point in the history
add canonical_url to Sphinx config
  • Loading branch information
stevepiercy committed Oct 22, 2016
2 parents c4e432e + 54e3ab8 commit 316a015
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@
# 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
Expand Down Expand Up @@ -180,7 +183,7 @@

# The name of an image file (relative to this directory) to place at the
# top of the title page.
latex_logo = '.static/logo_hi.gif'
#latex_logo = '.static/logo_hi.gif'

# For "manual" documents, if this is true, then toplevel headings are
# parts, not chapters.
Expand Down

0 comments on commit 316a015

Please sign in to comment.