Version selection in software documentation

I have a problem with a newly common approach with software documentation. I have started using Laravel and this gave me serious problems: the documentation on the website is specific for a version of Laravel.

On the top right is a selection drop down that enables the user to select a version of Laravel for which they would like to see documentation. The layout, colors and styles of the website are exactly identical for each version. The only difference is the number on the top right (4.0, 4.1, 4.2, 5.0, 5.1, etc)

When I Google a topic for Laravel I jump straight into a page of the documentation and then I have to check what version I just jumped into.

Do people agree with me this is a bad UX? What is the right way to do this?

Alternatives I've seen are e.g. Microsoft's website, where they always show some text on top for applicable versions. Like "applicable to Office 2007, 2010, 2013".