Support for canonical urls #8

Merged
merged 3 commits into from Aug 17, 2013

Conversation

Projects
None yet
2 participants

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/'
)  

blaflamme added a commit that referenced this pull request Aug 17, 2013

Merge pull request #8 from adroullier/master
Support for canonical urls

@blaflamme blaflamme merged commit cb62403 into Pylons:master Aug 17, 2013

Owner

blaflamme commented Aug 17, 2013

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment