Link to the correct version of the docs

Instead of linking to the current docs always, it's better to link to the correct version.