Add canonical urls to the documentation
Right now the google index for the SA documentation is a mess. Links to 0.7 or 0.8 are quite common, even though all links in the google index should point to the latest stable version.
Readthedocs has an option to enable canonical urls, but it should be easy enough to do even without using RTD: https://support.google.com/webmasters/answer/139066?hl=en
Comments (8)
-
repo owner -
repo owner - changed milestone to 1.0.xx
-
repo owner ok, it claims "We point all versions of your docs at the “latest” version as canonical". We'll see.
-
repo owner sure would have been fun if that worked, looks like I have to alter the templates
-
repo owner - changed status to closed
-
repo owner please confirm, e.g. : http://docs.sqlalchemy.org/en/rel_0_8/orm/extensions/declarative.html (only 0.8 is built at this moment)
-
reporter looks good
-
repo owner though that's a bad example because on latest that link is now declarative/index.html. maybe google figures that out.
- Log in to comment
the read the docs document does not indicate that this feature is functional across versions. For example, I set it to "http://docs.sqlalchemy.org/en/latest/". This is not what the RTD documentation says; they seem to imply I can at best set it to "http://docs.sqlalchemy.org", so that the domain will be the "official" domain, not a URL like "sqlalchemy.readthedocs.org".
E.g., RTD is not providing a canonical "prefix" for me here, just a domain. Please advise.