NCAR / DART

Data Assimilation Research Testbed
https://dart.ucar.edu/
Apache License 2.0
187 stars 140 forks source link

readthedocs changes October 7 2024 #703

Closed hkershaw-brown closed 2 weeks ago

hkershaw-brown commented 1 month ago

[Action required] Deprecation: Removal of Sphinx context injection at build time https://about.readthedocs.com/blog/2024/07/addons-by-default/

Deprecation timeline We understand this change will affect thousands of projects, so we have a timeline to communicate this deprecation to our users effectively.

July 29, 2024: disable Sphinx context injection and enable Read the Docs Addons for all new projects created. October 7, 2024: disable Sphinx context injection and enable Read the Docs Addons for all projects.

hkershaw-brown commented 1 month ago

turned on addons and built readthedocs-test https://docs.dart.ucar.edu/en/readthedocs-test/ seems fine. Edit (ish)

Flyout menu location is not great Screenshot 2024-07-17 at 9 29 34 AM

Order of versions is incorrect in the menu

Screenshot 2024-07-17 at 9 24 25 AM

Switched off notification for 'latest'. 'latest' and 'stable' are the same for DART. Screenshot 2024-07-17 at 9 32 06 AM

using SemVer order, better but backwards. Toggling flyout sorting does not seem to make a difference. Screenshot 2024-07-17 at 9 51 23 AM

hkershaw-brown commented 1 month ago

@ann-norcio @c-merchant @Benjamin-Gunn If you get a chance can you have a click around https://docs.dart.ucar.edu/en/readthedocs-test/ Readthedocs are updating how they build the documentation so it would be good to catch any weirdness before the Oct 7th switchover.

hkershaw-brown commented 1 month ago

having the add on seems to break the search on the 'lastest' docs. bummer.

hkershaw-brown commented 1 month ago

switched off the addons for now and rebuilt 'latest'

ann-norcio commented 1 month ago

Noticed the same things Helen pointed out while clicking around https://docs.dart.ucar.edu/en/readthedocs-test/

hkershaw-brown commented 1 month ago

note on redirects.

old versions of the docs have README.html The flyout links are index.html

If you redirect from as specific version /en/vX/ -> /en/vX/README.html you can use the flyout menu from new to old, but not old new.

hkershaw-brown commented 1 month ago

general one way and specific back fixes the old doc flyout 404

Screenshot 2024-07-24 at 3 02 54 PM

Note delete these if the redirects cause problems