data-apis / array-api

RFC document, tooling and other content related to the array API standard
https://data-apis.github.io/array-api/latest/
MIT License
204 stars 42 forks source link

version switcher on deployed website disappeared #753

Closed rgommers closed 3 months ago

rgommers commented 4 months ago

Almost certainly caused by gh-735.

Also xref a related issue with a JS warning about the search results, which was also due to a Sphinx version upgrade: https://github.com/data-apis/data-apis.github.io/issues/24.

rgommers commented 4 months ago

This works in the demo site of the theme (see [here](https://bashtage.github.io/sphinx-material/customization.html, also for docs on version dropdown usage).

We have a slightly unusual setup here, but it's not clear what changed beyond an upgrade of Sphinx. Things do seem to land in the right places in the gh-pages branch.

A bit of info:

Someone with more JavaScript skills can take it from here I hope:)

asmeurer commented 4 months ago

I think it has to do with jquery. There was some change in sphinx at some point where they stopped shipping it or something like that.

asmeurer commented 4 months ago

See https://github.com/sympy/sympy/pull/24989. The fix here is probably the same.