gdal icon indicating copy to clipboard operation
gdal copied to clipboard

Doc: Version selector does not work as expected

Open dbaston opened this issue 10 months ago • 4 comments

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

  1. Navigate to https://gdal.org/en/stable/programs/gdal_calc.html
  2. Using ReadTheDocs menu, set version to "latest"
  3. URL in location bar is set to https://gdal.org/en/latest/

Versions and provenance

_

Additional context

No response

dbaston avatar Feb 06 '25 19:02 dbaston

Probably a ReadTheDocs issue, as I can reproduce the same with https://proj.org . My memories is that it used to work

rouault avatar Feb 06 '25 19:02 rouault

Note there is an issue open for this at https://github.com/readthedocs/sphinx_rtd_theme/issues/1638

geographika avatar Apr 10 '25 08:04 geographika

This is now fixed by https://github.com/OSGeo/gdal/pull/13480 for the upper version selector:

Image

but not the lower version selector:

Image

dbaston avatar Nov 30 '25 15:11 dbaston

@dbaston - I missed these links at the bottom. Will investigate and hopefully can use a similar fix.

geographika avatar Dec 01 '25 08:12 geographika