-
Notifications
You must be signed in to change notification settings - Fork 69
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
Update versions of Sphinx and its plugins #472
Conversation
By adding that CSS class to Harmonica logo we make its background transparent, even on dark mode.
With this version of Sphinx and the Book theme, we have dark theme in Harmonica docs. This introduced some issues regarding the rendering of output cells. The ones that show Pandas outputs are working after applying some CSS rules. But for xarray outputs things are harder. Here are screen captures of light vs dark mode with xarray outputs: |
Yeah I noticed that. I think it'll just be a matter of time before xarray makes a fix to their CSS. |
Just saw that Xarray's docs make use of Jupyter Books to build them and their HTML outputs look nice on dark theme: https://tutorial.xarray.dev/intermediate/xarray_ecosystem.html |
I'm merging this. We can take care of the Xarray inconsistency in another PR. |
Bump versions of Sphinx and its plugins in
environment.yml
and inrequirements-docs.txt
. Add CSSdark-light
class to Harmonica logo in theindex.rst
to make its background transparent even in dark mode. Remove Harmonica logo in the left panel.Relevant issues/PRs:
Similar changes to the ones applied in fatiando/choclo#64