Closed santisoler closed 6 months ago
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 https://github.com/fatiando/choclo/pull/64