Pylons/pylons_sphinx_theme — pull request #8 by adroullier (2013-08-17 15:59:24+00:00)
Title: Support for canonical urls

Adds a to each page for a better google search result (in the future). Outdated documentation versions should no longer come as first entry in search results.

e.g.

This can be used for all docs based on pylons themes.

And actually the update won't change anything unless `conf.py` of each doc is updated.

For example:

html_theme_options = dict(
github_url='https://github.com/Pylons/pyramid_tutorials',
canonical_url='http://docs.pylonsproject.org/projects/pyramid_tutorials/en/latest/'
)