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

Automatically generate opchar matrix image from CSV, and other doc fixes #1108

Merged
merged 11 commits into from
Mar 26, 2024

Conversation

milindsmart
Copy link
Contributor

@milindsmart milindsmart commented Mar 5, 2024

This PR adds a script and a makefile hook to automatically generate the operational characteristics-operational type matrix image from the corresponding CSV. This is the authoritative map indicating which column is needed for what operational type.

I have added a dependency to the extras_doc section of setup.py: df2img which uses plotly as a backend. In addition to the PNG which was being generated earlier, I also now generate an SVG (which I've made git ignore due to some content within that seems to get updated each time it gets generated).

I have added the images as make targets that only get regenerated when the CSV is updated.

In addition, I have fixed a number of referencing bugs and syntax errors across the documentation.

Please review. I have yet to make the change in the .BAT file (which presumably is needed to make documentation on Windows?).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@milindsmart, cool! The Python image generation file needs a license before I can consider merging it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha, yes, added.

@anamileva anamileva merged commit 5799fe7 into blue-marble:develop Mar 26, 2024
6 checks passed
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.

2 participants