### Pandas version checks - [X] I have checked that the issue still exists on the latest versions of the docs on `main` [here](https://pandas.pydata.org/docs/dev/) ### Location of the documentation Any page ### Documentation problem When I try to see the docs for a different pandas version and chose any version in the top right version select widget I get redirected to https://pandas.pydata.org/docs/dev/undefined and get 404 error Might have something to do with the error I see in the browser console:  ### Suggested fix for documentation Fix the version select widget so it redirects to the documentation for the chosen version