Skip to content

Commit 16c859c

Browse files
authored
doc: Simplify the "minimum required versions" page using MyST customized URL schemes (#3383)
1 parent 73e178d commit 16c859c

File tree

1 file changed

+36
-57
lines changed

1 file changed

+36
-57
lines changed

doc/minversions.md

+36-57
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
---
2+
myst:
3+
# Customized URI schemes that are converted to external links
4+
# References:
5+
# - https://myst-parser.readthedocs.io/en/latest/syntax/cross-referencing.html#customising-external-url-resolution
6+
# - https://myst-parser.readthedocs.io/en/latest/configuration.html#frontmatter-local-configuration
7+
url_schemes:
8+
http: null
9+
https: null
10+
tag:
11+
url: "https://github.com/GenericMappingTools/pygmt/releases/tag/{{path}}"
12+
title: "{{path}}"
13+
doc:
14+
url: "https://www.pygmt.org/{{path}}"
15+
title: "Docs"
16+
---
17+
118
# Minimum Supported Versions
219

320
PyGMT has adopted [SPEC 0](https://scientific-python.org/specs/spec-0000/) alongside the
@@ -12,64 +29,26 @@ after their initial release.
1229

1330
| PyGMT Version | GMT | Python | NumPy | Pandas | Xarray |
1431
|---|---|---|---|---|---|
15-
| [Dev][]* [[Docs][Docs Dev]] | {{ requires.gmt }} | {{ requires.python }} | {{ requires.numpy }} | {{ requires.pandas }} | {{ requires.xarray }} |
16-
| [v0.12.0][] [[Docs][Docs v0.12.0]] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 |
17-
| [v0.11.0][] [[Docs][Docs v0.11.0]] | >=6.3.0 | >=3.9 | >=1.23 | | |
18-
| [v0.10.0][] [[Docs][Docs v0.10.0]] | >=6.3.0 | >=3.9 | >=1.22 | | |
19-
| [v0.9.0][] [[Docs][Docs v0.9.0]] | >=6.3.0 | >=3.8 | >=1.21 | | |
20-
| [v0.8.0][] [[Docs][Docs v0.8.0]] | >=6.3.0 | >=3.8 | >=1.20 | | |
21-
| [v0.7.0][] [[Docs][Docs v0.7.0]] | >=6.3.0 | >=3.8 | >=1.20 | | |
22-
| [v0.6.1][] [[Docs][Docs v0.6.1]] | >=6.3.0 | >=3.8 | >=1.19 | | |
23-
| [v0.6.0][] [[Docs][Docs v0.6.0]] | >=6.3.0 | >=3.8 | >=1.19 | | |
24-
| [v0.5.0][] [[Docs][Docs v0.5.0]] | >=6.2.0 | >=3.7 | >=1.18 | | |
25-
| [v0.4.1][] [[Docs][Docs v0.4.1]] | >=6.2.0 | >=3.7 | >=1.17 | | |
26-
| [v0.4.0][] [[Docs][Docs v0.4.0]] | >=6.2.0 | >=3.7 | >=1.17 | | |
27-
| [v0.3.1][] [[Docs][Docs v0.3.1]] | >=6.1.1 | >=3.7 | | | |
28-
| [v0.3.0][] [[Docs][Docs v0.3.0]] | >=6.1.1 | >=3.7 | | | |
29-
| [v0.2.1][] [[Docs][Docs v0.2.1]] | >=6.1.1 | >=3.6 | | | |
30-
| [v0.2.0][] [[Docs][Docs v0.2.0]] | >=6.1.1 | 3.6 - 3.8 | | | |
31-
| [v0.1.2][] [[Docs][Docs v0.1.2]] | >=6.0.0 | 3.6 - 3.8 | | | |
32-
| [v0.1.1][] [[Docs][Docs v0.1.1]] | >=6.0.0 | 3.6 - 3.8 | | | |
33-
| [v0.1.0][] [[Docs][Docs v0.1.0]] | >=6.0.0 | 3.6 - 3.8 | | | |
32+
| [Dev][]* [<doc:dev>] | {{ requires.gmt }} | {{ requires.python }} | {{ requires.numpy }} | {{ requires.pandas }} | {{ requires.xarray }} |
33+
| <tag:v0.12.0> [<doc:v0.12.0>] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 |
34+
| <tag:v0.11.0> [<doc:v0.11.0>] | >=6.3.0 | >=3.9 | >=1.23 | | |
35+
| <tag:v0.10.0> [<doc:v0.10.0>] | >=6.3.0 | >=3.9 | >=1.22 | | |
36+
| <tag:v0.9.0> [<doc:v0.9.0>] | >=6.3.0 | >=3.8 | >=1.21 | | |
37+
| <tag:v0.8.0> [<doc:v0.8.0>] | >=6.3.0 | >=3.8 | >=1.20 | | |
38+
| <tag:v0.7.0> [<doc:v0.7.0>] | >=6.3.0 | >=3.8 | >=1.20 | | |
39+
| <tag:v0.6.1> [<doc:v0.6.1>] | >=6.3.0 | >=3.8 | >=1.19 | | |
40+
| <tag:v0.6.0> [<doc:v0.6.0>] | >=6.3.0 | >=3.8 | >=1.19 | | |
41+
| <tag:v0.5.0> [<doc:v0.5.0>] | >=6.2.0 | >=3.7 | >=1.18 | | |
42+
| <tag:v0.4.1> [<doc:v0.4.1>] | >=6.2.0 | >=3.7 | >=1.17 | | |
43+
| <tag:v0.4.0> [<doc:v0.4.0>] | >=6.2.0 | >=3.7 | >=1.17 | | |
44+
| <tag:v0.3.1> [<doc:v0.3.1>] | >=6.1.1 | >=3.7 | | | |
45+
| <tag:v0.3.0> [<doc:v0.3.0>] | >=6.1.1 | >=3.7 | | | |
46+
| <tag:v0.2.1> [<doc:v0.2.1>] | >=6.1.1 | >=3.6 | | | |
47+
| <tag:v0.2.0> [<doc:v0.2.0>] | >=6.1.1 | 3.6 - 3.8 | | | |
48+
| <tag:v0.1.2> [<doc:v0.1.2>] | >=6.0.0 | 3.6 - 3.8 | | | |
49+
| <tag:v0.1.1> [<doc:v0.1.1>] | >=6.0.0 | 3.6 - 3.8 | | | |
50+
| <tag:v0.1.0> [<doc:v0.1.0>] | >=6.0.0 | 3.6 - 3.8 | | | |
3451

3552
*Dev reflects the main branch and is for the upcoming release.
3653

3754
[Dev]: https://github.com/GenericMappingTools/pygmt/milestones
38-
[v0.12.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.12.0
39-
[v0.11.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.11.0
40-
[v0.10.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.10.0
41-
[v0.9.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.9.0
42-
[v0.8.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.8.0
43-
[v0.7.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.7.0
44-
[v0.6.1]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.6.1
45-
[v0.6.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.6.0
46-
[v0.5.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.5.0
47-
[v0.4.1]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.4.1
48-
[v0.4.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.4.0
49-
[v0.3.1]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.3.1
50-
[v0.3.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.3.0
51-
[v0.2.1]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.2.1
52-
[v0.2.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.2.0
53-
[v0.1.2]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.1.2
54-
[v0.1.1]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.1.1
55-
[v0.1.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.1.0
56-
57-
[Docs Dev]: https://www.pygmt.org/dev
58-
[Docs v0.12.0]: https://www.pygmt.org/v0.12.0
59-
[Docs v0.11.0]: https://www.pygmt.org/v0.11.0
60-
[Docs v0.10.0]: https://www.pygmt.org/v0.10.0
61-
[Docs v0.9.0]: https://www.pygmt.org/v0.9.0
62-
[Docs v0.8.0]: https://www.pygmt.org/v0.8.0
63-
[Docs v0.7.0]: https://www.pygmt.org/v0.7.0
64-
[Docs v0.6.1]: https://www.pygmt.org/v0.6.1
65-
[Docs v0.6.0]: https://www.pygmt.org/v0.6.0
66-
[Docs v0.5.0]: https://www.pygmt.org/v0.5.0
67-
[Docs v0.4.1]: https://www.pygmt.org/v0.4.1
68-
[Docs v0.4.0]: https://www.pygmt.org/v0.4.0
69-
[Docs v0.3.1]: https://www.pygmt.org/v0.3.1
70-
[Docs v0.3.0]: https://www.pygmt.org/v0.3.0
71-
[Docs v0.2.1]: https://www.pygmt.org/v0.2.1
72-
[Docs v0.2.0]: https://www.pygmt.org/v0.2.0
73-
[Docs v0.1.2]: https://www.pygmt.org/v0.1.2
74-
[Docs v0.1.1]: https://www.pygmt.org/v0.1.1
75-
[Docs v0.1.0]: https://www.pygmt.org/v0.1.0

0 commit comments

Comments
 (0)