From 73a5ec3ea175403577ec522b93d743e445fdd2f7 Mon Sep 17 00:00:00 2001 From: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com> Date: Fri, 2 Apr 2021 20:32:55 +0200 Subject: [PATCH] Added v2 to issue template as not supported and change links in readme to v3 versions (#8693) --- .github/ISSUE_TEMPLATE/BUG.md | 2 +- README.md | 21 +++++++++------------ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/BUG.md b/.github/ISSUE_TEMPLATE/BUG.md index ea0ccbce2..69729b957 100644 --- a/.github/ISSUE_TEMPLATE/BUG.md +++ b/.github/ISSUE_TEMPLATE/BUG.md @@ -11,7 +11,7 @@ labels: 'type: bug' Bug reports MUST be submitted with an interactive example: https://codepen.io/pen?template=JXVYzq - Chart.js 1.x is NOT supported anymore, new issues will be disregarded. + Chart.js versions lower then 3.x are NOT supported anymore, new issues will be disregarded. --> ## Expected Behavior diff --git a/README.md b/README.md index 7af4c2454..57a242aa0 100644 --- a/README.md +++ b/README.md @@ -13,23 +13,20 @@ ## Documentation -Currently, there are two versions of the library (2.9.4 and 3.x.x). Version 2 is the latest stable version while 3 is the next (currently beta) version. As such bear the following in mind: - -* Current docs points to version 2.9.4 -* Npm/CDN/etc point to version 2.9.4 (unless you explicitly set newer version, e.g. npm next) -* Source currently points to 3.x.x version. 2.9.4 source is available [here](https://github.com/chartjs/Chart.js/tree/2.9) -* Docs for version 3.x.x are available [here](https://www.chartjs.org/docs/master/) +All the links point to the new version 3 of the lib. * [Introduction](https://www.chartjs.org/docs/latest/) -* [Getting Started](https://www.chartjs.org/docs/latest/getting-started/) -* [General](https://www.chartjs.org/docs/latest/general/) -* [Configuration](https://www.chartjs.org/docs/latest/configuration/) -* [Charts](https://www.chartjs.org/docs/latest/charts/) -* [Axes](https://www.chartjs.org/docs/latest/axes/) -* [Developers](https://www.chartjs.org/docs/latest/developers/) +* [Getting Started](https://www.chartjs.org/docs/latest/getting-started/index) +* [General](https://www.chartjs.org/docs/latest/general/data-structures) +* [Configuration](https://www.chartjs.org/docs/latest/configuration/index) +* [Charts](https://www.chartjs.org/docs/latest/charts/line) +* [Axes](https://www.chartjs.org/docs/latest/axes/index) +* [Developers](https://www.chartjs.org/docs/latest/developers/index) * [Popular Extensions](https://github.com/chartjs/awesome) * [Samples](https://www.chartjs.org/samples/) +In case you are looking for the docs of version 2, you will have to specify the specific version in the url like this: [https://www.chartjs.org/docs/2.9.4/](https://www.chartjs.org/docs/2.9.4/) + ## Contributing Instructions on building and testing Chart.js can be found in [the documentation](https://www.chartjs.org/docs/master/developers/contributing.html#building-and-testing). Before submitting an issue or a pull request, please take a moment to look over the [contributing guidelines](https://www.chartjs.org/docs/master/developers/contributing) first. For support, please post questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/chartjs) with the `chartjs` tag.