From 9ff2ef71586f8431a295a54e5fe39ff70c9e1c5f Mon Sep 17 00:00:00 2001 From: stockiNail Date: Mon, 7 Mar 2022 18:09:52 +0100 Subject: [PATCH 1/3] Add migration guide v2 section to getting started page --- docs/guide/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guide/index.md b/docs/guide/index.md index e660ba4fe..a544dc898 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -24,3 +24,5 @@ For Chart.js 2.4.0 to 2.9.x support, use [version 0.5.7 of this plugin](https:// Documentation for v0.5.7 can be found on [GitHub](https://github.com/chartjs/chartjs-plugin-annotation/blob/1ab782afce943456f958cac33f67edc5d6eab278/README.md). ::: + +## 2.x Migration guide From a445d06e8484b461bbf046c0ae1ec123cde54cfc Mon Sep 17 00:00:00 2001 From: stockiNail Date: Tue, 8 Mar 2022 09:22:15 +0100 Subject: [PATCH 2/3] creates specific pages for migration guide --- docs/.vuepress/config.js | 1 + docs/guide/index.md | 2 -- docs/guide/migrationV2.md | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 docs/guide/migrationV2.md diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index c236f83be..41dcfcbd5 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -82,6 +82,7 @@ module.exports = { sidebar: { '/guide/': [ '', + 'migrationV2', 'integration', 'usage', 'options', diff --git a/docs/guide/index.md b/docs/guide/index.md index a544dc898..e660ba4fe 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -24,5 +24,3 @@ For Chart.js 2.4.0 to 2.9.x support, use [version 0.5.7 of this plugin](https:// Documentation for v0.5.7 can be found on [GitHub](https://github.com/chartjs/chartjs-plugin-annotation/blob/1ab782afce943456f958cac33f67edc5d6eab278/README.md). ::: - -## 2.x Migration guide diff --git a/docs/guide/migrationV2.md b/docs/guide/migrationV2.md new file mode 100644 index 000000000..5281c831a --- /dev/null +++ b/docs/guide/migrationV2.md @@ -0,0 +1 @@ +# 2.x Migration guide From 86f6e91131e8b4dd7beba3962c9321c3e298632e Mon Sep 17 00:00:00 2001 From: stockiNail Date: Fri, 11 Mar 2022 11:46:33 +0100 Subject: [PATCH 3/3] move migration page to the bottom --- docs/.vuepress/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 41dcfcbd5..62719af3f 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -82,7 +82,6 @@ module.exports = { sidebar: { '/guide/': [ '', - 'migrationV2', 'integration', 'usage', 'options', @@ -98,7 +97,8 @@ module.exports = { 'types/point', 'types/polygon' ] - } + }, + 'migrationV2' ], '/samples/': [ 'intro',