I'm currently trying to bump the version of pydata-sphinx-theme that we're using (#27658), so we can get recent accessibility improvements from the theme. It's not currently possible to load the version switcher hosted at https://matplotlib.org/devdocs/_static/switcher.json on the documentation build that CircleCI generates. The console error is:
👍 in that case (I have zero knowledge/experience of these things) I'm happy to close this, and work out how to turn off the version switcher in the CircleCI build.
FWIW I worked out how to use the version switcher that circleCI hosts with each artifact upload, so no need for this PR or a workaround on the circleCI builds.
Some time ago, I manually allowed this for CircleCI. However, this was not a long-term solution, so it was overwritten the next time we refreshed the server, which is why it stopped working again.
Activity
tacaswell commented on Mar 4, 2024
I'm not sure that we want to open up the holes required to opt out of that CORS protection.
dstansby commented on Mar 4, 2024
👍 in that case (I have zero knowledge/experience of these things) I'm happy to close this, and work out how to turn off the version switcher in the CircleCI build.
dstansby commented on Mar 5, 2024
FWIW I worked out how to use the version switcher that circleCI hosts with each artifact upload, so no need for this PR or a workaround on the circleCI builds.
QuLogic commented on Mar 6, 2024
Some time ago, I manually allowed this for CircleCI. However, this was not a long-term solution, so it was overwritten the next time we refreshed the server, which is why it stopped working again.