From 74819e37b1bd9dfc7254f4e4b8dee23b9666fc8a Mon Sep 17 00:00:00 2001 From: liihuu Date: Mon, 28 Oct 2024 02:57:03 +0800 Subject: [PATCH] docs: update docs --- docs/.vitepress/config/en-US.js | 7 ++- docs/.vitepress/config/zh-CN.js | 7 ++- docs/@components/Chart.vue | 2 +- docs/@components/CodeHighlight.vue | 4 +- docs/@components/Tooltip.vue | 2 - docs/@views/Banner.vue | 33 +++++------ docs/@views/Layout.vue | 4 +- docs/@views/customize/FeatureList.vue | 2 - docs/@views/home/CreateChart.vue | 13 ++--- docs/@views/home/FAQ.vue | 1 + docs/@views/home/Section.vue | 1 - docs/@views/home/Sponsor.vue | 20 +++++-- docs/@views/sample/Chart.vue | 82 ++------------------------- package.json | 5 +- 14 files changed, 57 insertions(+), 126 deletions(-) diff --git a/docs/.vitepress/config/en-US.js b/docs/.vitepress/config/en-US.js index c8272640..37212064 100644 --- a/docs/.vitepress/config/en-US.js +++ b/docs/.vitepress/config/en-US.js @@ -39,8 +39,11 @@ export default defineConfig({ ] }, { - text: `V${pkg.version}`, - items: [{ text: 'V8 Docs', link: 'https://v8.klinecharts.com' }] + text: 'Next', + items: [ + { text: 'V9 Docs', link: 'https://v9.klinecharts.com/en-US' }, + { text: 'V8 Docs', link: 'https://v8.klinecharts.com' } + ] }, ], sidebar: { diff --git a/docs/.vitepress/config/zh-CN.js b/docs/.vitepress/config/zh-CN.js index baedd855..8b02dd02 100644 --- a/docs/.vitepress/config/zh-CN.js +++ b/docs/.vitepress/config/zh-CN.js @@ -43,8 +43,11 @@ export default defineConfig({ ] }, { - text: `V${pkg.version}`, - items: [{ text: 'V8 文档', link: 'https://v8.klinecharts.com/zh-CN' }] + text: 'Next', + items: [ + { text: 'V9 文档', link: 'https://v9.klinecharts.com' }, + { text: 'V8 文档', link: 'https://v8.klinecharts.com/zh-CN' } + ] }, ], sidebar: { diff --git a/docs/@components/Chart.vue b/docs/@components/Chart.vue index 48b4ed3a..a712adbd 100644 --- a/docs/@components/Chart.vue +++ b/docs/@components/Chart.vue @@ -1,5 +1,5 @@ diff --git a/docs/@views/Banner.vue b/docs/@views/Banner.vue index db60c937..bd84f9be 100644 --- a/docs/@views/Banner.vue +++ b/docs/@views/Banner.vue @@ -1,7 +1,7 @@