GenericMappingTools / pygmt

A Python interface for the Generic Mapping Tools.
https://www.pygmt.org
BSD 3-Clause "New" or "Revised" License
769 stars 222 forks source link

PyGMT website: Drop-down menu for selection version disappears for selection "dev" #3542

Open yvonnefroehlich opened 1 month ago

yvonnefroehlich commented 1 month ago

I just found that the drop-down menu for selecting the version on the PyGMT website disappears when having "dev" selected. I think this is somehow new and is still not the case for the GMT website (https://docs.generic-mapping-tools.org/dev/index.html).

<= v0.13.0 latest dev
website_pygmt_select_version_v0130 website_pygmt_select_version_LATEST website_pygmt_select_version_DEV
seisman commented 1 month ago

It's likely because breaking changes in sphinx_rtd_theme v3.x (https://github.com/readthedocs/sphinx_rtd_theme/tags).

yvonnefroehlich commented 1 month ago

Maybe this iusse is related by the newly introduced version_selector:

At the moment I am trying to understand how this has to be set up, considering these aspects:

seisman commented 3 weeks ago

We probably should pin sphinx_rtd_theme to 2.x temporarily and wait to see if there are any upstream changes (xref: https://github.com/readthedocs/sphinx_rtd_theme/issues/1624).

yvonnefroehlich commented 3 weeks ago

We probably should pin sphinx_rtd_theme to 2.x temporarily and wait to see if there are any upstream changes (xref: readthedocs/sphinx_rtd_theme#1624).

I did not see this issue yet. Thanks for pointing it out! This looks like that there are some issues with this newly added version_selector. So trying to pin sphinx_rtd_theme makes sense to me. We can still make changes to the config file.

seisman commented 3 weeks ago

reopen so that we can better track possible upstream changes.