I think a solution might be to make links to the latest version redirect to a v/latest/ which redirects to the new latest version across upgrades. For each url v/1.2/docs if 1.2 is the new version, then it redirects to v/latest/docs and when copy-pasted to e.g. stack overflow, when someone comes along later when it's in version 1.5, it serves the v1.5 docs. So the latest Google crawl will see mostly v/latest/docs links, it will always serve those at the top of search results for docs, and then no matter what those search results at the latest version of docs.