New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOC/BLD: make logo compatible with pydata-sphinx-theme #25423
Conversation
f34f11c
to
d3b5626
Compare
d3b5626
to
d6f7a4f
Compare
matplotlib/.circleci/config.yml Lines 98 to 104 in c8b5a2a
We may want to re-order that just to be safe in case pip becomes more helpful and downgrades mpl-sphinx-theme in the future. |
Huh, I don't think this is working - the built logo doesn't change from light to dark. Regardless, I think it can be fixed in mpl-sphinx-theme. |
Oh, OK, I think this is int he wrong order for sure. Because we are now pinning mpl-sphinx-theme, we need to git-install after. |
ah, sorry I jumped the gun on merging this! |
I think it's just CI that is broken? Should we be putting the I think there advantages to having these things modular, but juggling the dependencies does seem to be a bit of a pain. |
The motivation for going to hard-pins is that now when we make releases the last working set of pins goes to the maintenance branch with no extra work. The cost is now we have moved this pinning to be a development-time activity. This might actually be a good use-case for the depndabot auto-dep bumper, but I suspect that unless one of the core devs already uses it in other contexts it will be more work to learn how to use it than to just bump the versions. Of course installing from git in CI defeats a bunch of that logic so maybe we should drop that and always rely on released versions of mpl-sphinx-theme? We probably should go the "release from CI" route on that package to make it super easy to make new releases.... |
I'm happy with whatever works. We basically have three clients?
I think we could make a 3.8.dev release of mpl-sphinx-theme that 2 and 3 follow until 3.8 is released, and then release a 3.8.0 of mpl-sphinx-theme?
Yeah, if we have a 3.8.dev release, some sort of automated way to do that from an updated branch or some such would be great. I'm happy to tackle that if you like, but I suspect @QuLogic or @ksunden would know how to do it properly. |
PR Summary
Now that pydata-sphinx-theme is out, it is compatible with mpl-sphinx-theme.
Note we are still using mpl-sphinx-theme from git.
PR Checklist
Documentation and Tests
pytest
passes)Release Notes
.. versionadded::
directive in the docstring and documented indoc/users/next_whats_new/
.. versionchanged::
directive in the docstring and documented indoc/api/next_api_changes/
next_whats_new/README.rst
ornext_api_changes/README.rst