From 16c859cd735cae37e355786eae2337e4f08c9e33 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 9 Aug 2024 17:26:22 +0800 Subject: [PATCH] doc: Simplify the "minimum required versions" page using MyST customized URL schemes (#3383) --- doc/minversions.md | 93 ++++++++++++++++++---------------------------- 1 file changed, 36 insertions(+), 57 deletions(-) diff --git a/doc/minversions.md b/doc/minversions.md index 0a09ae8c4a9..025defe3042 100644 --- a/doc/minversions.md +++ b/doc/minversions.md @@ -1,3 +1,20 @@ +--- +myst: + # Customized URI schemes that are converted to external links + # References: + # - https://myst-parser.readthedocs.io/en/latest/syntax/cross-referencing.html#customising-external-url-resolution + # - https://myst-parser.readthedocs.io/en/latest/configuration.html#frontmatter-local-configuration + url_schemes: + http: null + https: null + tag: + url: "https://github.com/GenericMappingTools/pygmt/releases/tag/{{path}}" + title: "{{path}}" + doc: + url: "https://www.pygmt.org/{{path}}" + title: "Docs" +--- + # Minimum Supported Versions PyGMT has adopted [SPEC 0](https://scientific-python.org/specs/spec-0000/) alongside the @@ -12,64 +29,26 @@ after their initial release. | PyGMT Version | GMT | Python | NumPy | Pandas | Xarray | |---|---|---|---|---|---| -| [Dev][]* [[Docs][Docs Dev]] | {{ requires.gmt }} | {{ requires.python }} | {{ requires.numpy }} | {{ requires.pandas }} | {{ requires.xarray }} | -| [v0.12.0][] [[Docs][Docs v0.12.0]] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 | -| [v0.11.0][] [[Docs][Docs v0.11.0]] | >=6.3.0 | >=3.9 | >=1.23 | | | -| [v0.10.0][] [[Docs][Docs v0.10.0]] | >=6.3.0 | >=3.9 | >=1.22 | | | -| [v0.9.0][] [[Docs][Docs v0.9.0]] | >=6.3.0 | >=3.8 | >=1.21 | | | -| [v0.8.0][] [[Docs][Docs v0.8.0]] | >=6.3.0 | >=3.8 | >=1.20 | | | -| [v0.7.0][] [[Docs][Docs v0.7.0]] | >=6.3.0 | >=3.8 | >=1.20 | | | -| [v0.6.1][] [[Docs][Docs v0.6.1]] | >=6.3.0 | >=3.8 | >=1.19 | | | -| [v0.6.0][] [[Docs][Docs v0.6.0]] | >=6.3.0 | >=3.8 | >=1.19 | | | -| [v0.5.0][] [[Docs][Docs v0.5.0]] | >=6.2.0 | >=3.7 | >=1.18 | | | -| [v0.4.1][] [[Docs][Docs v0.4.1]] | >=6.2.0 | >=3.7 | >=1.17 | | | -| [v0.4.0][] [[Docs][Docs v0.4.0]] | >=6.2.0 | >=3.7 | >=1.17 | | | -| [v0.3.1][] [[Docs][Docs v0.3.1]] | >=6.1.1 | >=3.7 | | | | -| [v0.3.0][] [[Docs][Docs v0.3.0]] | >=6.1.1 | >=3.7 | | | | -| [v0.2.1][] [[Docs][Docs v0.2.1]] | >=6.1.1 | >=3.6 | | | | -| [v0.2.0][] [[Docs][Docs v0.2.0]] | >=6.1.1 | 3.6 - 3.8 | | | | -| [v0.1.2][] [[Docs][Docs v0.1.2]] | >=6.0.0 | 3.6 - 3.8 | | | | -| [v0.1.1][] [[Docs][Docs v0.1.1]] | >=6.0.0 | 3.6 - 3.8 | | | | -| [v0.1.0][] [[Docs][Docs v0.1.0]] | >=6.0.0 | 3.6 - 3.8 | | | | +| [Dev][]* [] | {{ requires.gmt }} | {{ requires.python }} | {{ requires.numpy }} | {{ requires.pandas }} | {{ requires.xarray }} | +| [] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 | +| [] | >=6.3.0 | >=3.9 | >=1.23 | | | +| [] | >=6.3.0 | >=3.9 | >=1.22 | | | +| [] | >=6.3.0 | >=3.8 | >=1.21 | | | +| [] | >=6.3.0 | >=3.8 | >=1.20 | | | +| [] | >=6.3.0 | >=3.8 | >=1.20 | | | +| [] | >=6.3.0 | >=3.8 | >=1.19 | | | +| [] | >=6.3.0 | >=3.8 | >=1.19 | | | +| [] | >=6.2.0 | >=3.7 | >=1.18 | | | +| [] | >=6.2.0 | >=3.7 | >=1.17 | | | +| [] | >=6.2.0 | >=3.7 | >=1.17 | | | +| [] | >=6.1.1 | >=3.7 | | | | +| [] | >=6.1.1 | >=3.7 | | | | +| [] | >=6.1.1 | >=3.6 | | | | +| [] | >=6.1.1 | 3.6 - 3.8 | | | | +| [] | >=6.0.0 | 3.6 - 3.8 | | | | +| [] | >=6.0.0 | 3.6 - 3.8 | | | | +| [] | >=6.0.0 | 3.6 - 3.8 | | | | *Dev reflects the main branch and is for the upcoming release. [Dev]: https://github.com/GenericMappingTools/pygmt/milestones -[v0.12.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.12.0 -[v0.11.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.11.0 -[v0.10.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.10.0 -[v0.9.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.9.0 -[v0.8.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.8.0 -[v0.7.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.7.0 -[v0.6.1]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.6.1 -[v0.6.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.6.0 -[v0.5.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.5.0 -[v0.4.1]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.4.1 -[v0.4.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.4.0 -[v0.3.1]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.3.1 -[v0.3.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.3.0 -[v0.2.1]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.2.1 -[v0.2.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.2.0 -[v0.1.2]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.1.2 -[v0.1.1]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.1.1 -[v0.1.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.1.0 - -[Docs Dev]: https://www.pygmt.org/dev -[Docs v0.12.0]: https://www.pygmt.org/v0.12.0 -[Docs v0.11.0]: https://www.pygmt.org/v0.11.0 -[Docs v0.10.0]: https://www.pygmt.org/v0.10.0 -[Docs v0.9.0]: https://www.pygmt.org/v0.9.0 -[Docs v0.8.0]: https://www.pygmt.org/v0.8.0 -[Docs v0.7.0]: https://www.pygmt.org/v0.7.0 -[Docs v0.6.1]: https://www.pygmt.org/v0.6.1 -[Docs v0.6.0]: https://www.pygmt.org/v0.6.0 -[Docs v0.5.0]: https://www.pygmt.org/v0.5.0 -[Docs v0.4.1]: https://www.pygmt.org/v0.4.1 -[Docs v0.4.0]: https://www.pygmt.org/v0.4.0 -[Docs v0.3.1]: https://www.pygmt.org/v0.3.1 -[Docs v0.3.0]: https://www.pygmt.org/v0.3.0 -[Docs v0.2.1]: https://www.pygmt.org/v0.2.1 -[Docs v0.2.0]: https://www.pygmt.org/v0.2.0 -[Docs v0.1.2]: https://www.pygmt.org/v0.1.2 -[Docs v0.1.1]: https://www.pygmt.org/v0.1.1 -[Docs v0.1.0]: https://www.pygmt.org/v0.1.0