Feature #20887
openAdd "latest" version to "docs.ruby-lang.org"
Description
Searching for Ruby documentation regularly returns outdated documentation.
For example searching for "ruby comparable" : https://www.google.com/search?hl=en&q=ruby%20comparable" returns:
- Module: Comparable (Ruby 2.5.8)
- Module: Comparable (Ruby 3.0.3)
It would be nice if we had a https://docs.ruby-lang.org/en/latest
that points the latest released version.
Older versions could add the "canonical" link to the document head.
This lets search engines know what the preferred version is:
<link rel="canonical" href="https://docs.ruby-lang.org/en/latest/Comparable.html" />
This would also allow others to link to this latest versions, instead of hardcoding the version or using "master".
Updated by hsbt (Hiroshi SHIBATA) 7 months ago
Module: Comparable (Ruby 2.5.8)
Module: Comparable (Ruby 3.0.3)
The above results are https://ruby-doc.org/, not https://docs.ruby-lang.org/.