-
Notifications
You must be signed in to change notification settings - Fork 229
Move the long "Compatibility" table to a separate file #2858
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
Comments
I agree that this table became quite long in the meantime, and moving it to a separate file makes sense. Should we keep the reStructuredText (
Aside from the NEP 29 policy, I think we should give the minimum required GMT version for the last release. |
What about hiding it in a |
Not bad. Does it work in HTML documentation?
It means we have to maintain two tables, and when we make a new release, we need to add the new release to table 1 and also move the oldest release from table 1 to table 2. |
Not sure about HTML, maybe open a PR to see? I just tried it quickly with the preview, and it seems to work Note thought that since this is reStructuredText, we need to do:
following https://stackoverflow.com/questions/2454577/sphinx-restructuredtext-show-hide-code-snippets
Yeah, reSt tables are a bit annoying. Maybe we could convert to markdown first? I see more people using MyST with Sphinx now - https://myst-parser.readthedocs.io/en/v0.15.1/sphinx/intro.html#get-started-with-myst-in-sphinx |
I still prefer to move the compatibility table to a separate file, mainly because (1) it's rare to have a compatibility table in a README file (didn't see it in pandas, xarray and scipy); (2) most users don't care about the compatibility table because |
Ok, let's move the compatibility table to another location then. The table was more important in earlier versions of PyGMT when we bumped the minimum required GMT version more often, but now that we maintain backwards compatibility to GMT 6.3, users should be ok with a range of versions. |
I just started working on this in PR #2862. So far I kept the reSt syntax and just copied the compatibility table to a new file. Or do we want to convert the table to Markdown? |
Ideally yes, but to write the table in Markdown, we will have very long lines like below, which maybe more difficult to maintain.
|
The "Compatibility" table in the README file is a long table and is growing fast as we have a PyGMT release every three months.
I feel we can move the table to a separate file in the
doc
directory. We can still keep this section heading in the README file, but only write a simple sentence about the NEP 29 policy and link to the table.The text was updated successfully, but these errors were encountered: