NorESMhub / NorESM-docs

Documentation of the NorESM model system and components
https://noresm-docs.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
4 stars 9 forks source link

Version links from the bottom collapsible menu are broken #32

Closed mvdebolskiy closed 5 months ago

mvdebolskiy commented 5 months ago

Pages apart from main https://noresm-docs.readthedocs.io/en/tag/. Will give 404 when switching to another version through the bottom menu (since most of them do not exist for another version). F.e. from https://noresm-docs.readthedocs.io/en/noresm2.1/noresm2.1/noresm2.1.html at noresm2.1 will give you 404 when switching to any other tag. Not sure how to configure the flyout menu to go to the base URL when clicking on version.

TomasTorsvik commented 5 months ago

@mvdebolskiy - thanks for bringing this up. This feature is part of the sphinx_rtd_theme that we use, and I haven't found a way to set a base URL for this menu. We could of course change the theme, I haven't really looked into what is available.