Doc: Version selector does not work as expected
What is the bug?
Attempting to switch between versions of the documentation (e.g., "stable" to "latest") brings one to the top-level page instead of the corresponding page in the other version.
Steps to reproduce the issue
- Navigate to https://gdal.org/en/stable/programs/gdal_calc.html
- Using ReadTheDocs menu, set version to "latest"
- URL in location bar is set to https://gdal.org/en/latest/
Versions and provenance
_
Additional context
No response
Probably a ReadTheDocs issue, as I can reproduce the same with https://proj.org . My memories is that it used to work
Note there is an issue open for this at https://github.com/readthedocs/sphinx_rtd_theme/issues/1638
This is now fixed by https://github.com/OSGeo/gdal/pull/13480 for the upper version selector:
but not the lower version selector:
@dbaston - I missed these links at the bottom. Will investigate and hopefully can use a similar fix.