Skip to content
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

Fix inheritance diagram rendering in documentation #364

Merged
merged 5 commits into from
Apr 24, 2023

Conversation

rhugonnet
Copy link
Contributor

@rhugonnet rhugonnet commented Apr 24, 2023

This PR fixes the inheritance diagrams rendering in the doc (that was shown as text).

Inheritance diagrams require graphviz to build. However, mamba has trouble updating the base environment.yml with graphviz in the CI (that runs into two steps: base environment + update with dev packages), because some image-processing package dependencies are similar.

To fix this, this PR explicitly adds graphviz when building the base environment.yml only in the CI.

All other scripts building from dev-environment.yml are functioning fine (readthedocs, developper install).

Also, it changes the color of edges to more adequately display inheritance diagrams in dark or light mode (background of text stays white, see: pydata/pydata-sphinx-theme#820)

Resolves #359

@rhugonnet rhugonnet merged commit 0af3810 into GlacioHack:main Apr 24, 2023
@rhugonnet rhugonnet deleted the fix_inheritance branch April 24, 2023 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Coreg inheritance diagram not rendering on RTD
1 participant