You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove the "documentation for other versions" section from the README file #1358
The "documentation for other versions" section in the README file is becoming longer as we release more versions:
Since we already have a version switcher on the main site, and the version switcher is easy to use, I think we can remove the "documentation for other versions" section from the README file.
Alternatively, we could link to the old version docs page at the Compatibility with GMT/Python/NumPy versions table? I feel like keeping a proper link somewhere is good, since the Javascript dropdown isn't very accessible, and can't be used in some places like the PyPI page.
Alternatively, we could link to the old version docs page at the Compatibility with GMT/Python/NumPy versions table? I feel like keeping a proper link somewhere is good, since the Javascript dropdown isn't very accessible, and can't be used in some places like the PyPI page.
I just recalled your accessibility concern at #621 (comment).
just pointing out that the dropdown isn't super-accessible. I managed to tab-tab-tab my way to the version changer dropdown (with the benefit of sight), and change to a different version of the documentation by pressing up/down with my arrow keys (only once though, it doesn't seem to allow scrolling through the list of options).
Could you explain more about the dropdown accessibility? What do you expect?
I expect that someone using only their keyboard can access other versions of PyGMT's documentation.
I think it already works, no? I can use Tab to navigate the PyGMT site and also use up-down keys to select specific versions.
Maybe it work on your browser? On Firefox for me (edit: same issue on Brave browser), I can only use Tab to select one version above or below the current one as mentioned in #621 (comment). If I'm at v0.3.1, it jumps directly to v0.4.0 or v0.3.0 if I press the up or down button (this is before I press Enter). So if I want to go to v0.1.2, I need to tab to the version switcher, press down, let the page reload to the new version, and repeat 4 times to go from v0.4.0 -> v0.3.1 -> v0.3.0 -> v0.2.1 -> v0.1.2.
Ok, if we do want to remove it, maybe we could put the old links at the Compatibility table as I mentioned in #1358 (comment), so that it looks like this:
i.e. have every minor version point to the latest patch release, e.g. v0.4.x points to v0.4.0, v0.3.x points to v0.3.1 and so on
On Firefox for me (edit: same issue on Brave browser), I can only use Tab to select one version above or below the current one as mentioned in #621 (comment). If I'm at v0.3.1, it jumps directly to v0.4.0 or v0.3.0 if I press the up or down button (this is before I press Enter). So if I want to go to v0.1.2, I need to tab to the version switcher, press down, let the page reload to the new version, and repeat 4 times to go from v0.4.0 -> v0.3.1 -> v0.3.0 -> v0.2.1 -> v0.1.2.
Same with me. I use Google Chrome and Firefox on CentOS7.5.
Ok, if we do want to remove it, maybe we could put the old links at the Compatibility table as I mentioned in #1358 (comment), so that it looks like this:
Ok, if we do want to remove it, maybe we could put the old links at the Compatibility table as I mentioned in #1358 (comment), so that it looks like this:
I think this looks much cleaner than the old version; I'm a fan!
Ok, if we do want to remove it, maybe we could put the old links at the Compatibility table as I mentioned in #1358 (comment), so that it looks like this:
i.e. have every minor version point to the latest patch release, e.g. v0.4.x points to v0.4.0, v0.3.x points to v0.3.1 and so on
Activity
core-man commentedon Jun 25, 2021
Sound good.
seisman commentedon Jun 25, 2021
I'll mark it as "good first issue" and "first-timer-only" if @GenericMappingTools/pygmt-maintainers have no objections.
weiji14 commentedon Jun 25, 2021
Alternatively, we could link to the old version docs page at the Compatibility with GMT/Python/NumPy versions table? I feel like keeping a proper link somewhere is good, since the Javascript dropdown isn't very accessible, and can't be used in some places like the PyPI page.
seisman commentedon Jun 25, 2021
I just recalled your accessibility concern at #621 (comment).
Could you explain more about the dropdown accessibility? What do you expect?
weiji14 commentedon Jun 25, 2021
Thanks for digging up that comment :) I expect that someone using only their keyboard can access other versions of PyGMT's documentation.
seisman commentedon Jun 26, 2021
I think it already works, no? I can use
Tabto navigate the PyGMT site and also use up-down keys to select specific versions.weiji14 commentedon Jun 26, 2021
Maybe it work on your browser? On Firefox for me (edit: same issue on Brave browser), I can only use Tab to select one version above or below the current one as mentioned in #621 (comment). If I'm at v0.3.1, it jumps directly to v0.4.0 or v0.3.0 if I press the up or down button (this is before I press Enter). So if I want to go to v0.1.2, I need to tab to the version switcher, press down, let the page reload to the new version, and repeat 4 times to go from v0.4.0 -> v0.3.1 -> v0.3.0 -> v0.2.1 -> v0.1.2.
seisman commentedon Jun 29, 2021
It works well for me on Microsoft Edge, Safari, but not on Firefox.
weiji14 commentedon Jun 30, 2021
Ok, if we do want to remove it, maybe we could put the old links at the Compatibility table as I mentioned in #1358 (comment), so that it looks like this:
i.e. have every minor version point to the latest patch release, e.g. v0.4.x points to v0.4.0, v0.3.x points to v0.3.1 and so on
core-man commentedon Jun 30, 2021
Same with me. I use Google Chrome and Firefox on CentOS7.5.
Sounds good.
willschlitzer commentedon Jul 1, 2021
I think this looks much cleaner than the old version; I'm a fan!
seisman commentedon Jul 28, 2021
I think we are OK with this solution. I have marked it as "good first issue" and add it to the v0.4.1 milestone.