Skip to content

Commit 836f440

Browse files
committed
docs: v10.0.0-alpha4 docs
1 parent cad1734 commit 836f440

File tree

8 files changed

+23
-12
lines changed

8 files changed

+23
-12
lines changed

docs/.vitepress/config/en-US.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default defineConfig({
2626
{ text: '9.x Docs', link: 'https://v9.klinecharts.com/en-US' },
2727
{ text: '8.x Docs', link: 'https://v8.klinecharts.com' }
2828
]
29-
},
29+
}
3030
],
3131
sidebar: {
3232
'/en-US/guide/': [
@@ -35,7 +35,7 @@ export default defineConfig({
3535
collapsed: false,
3636
items: [
3737
{ text: 'Introduction', link: '/en-US/guide/introduction' },
38-
{ text: 'Quick Start', link: '/en-US/guide/quick-start' },
38+
{ text: 'Quick Start', link: '/en-US/guide/quick-start' }
3939
]
4040
},
4141
{
@@ -94,9 +94,9 @@ export const search = {
9494
footer: {
9595
selectText: 'to select',
9696
navigateText: 'to navigate',
97-
closeText: 'to close',
97+
closeText: 'to close'
9898
}
9999
}
100100
}
101101
}
102-
}
102+
}

docs/.vitepress/config/share.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function getChartApiMenus (lang = '') {
2020
{ text: 'getSupportedOverlays', link: `${prefix}/getSupportedOverlays` },
2121
{ text: 'registerXAxis', link: `${prefix}/registerXAxis` },
2222
{ text: 'registerYAxis', link: `${prefix}/registerYAxis` },
23-
{ text: 'utils', link: `${prefix}/utils` },
23+
{ text: 'utils', link: `${prefix}/utils` }
2424
]
2525
}
2626

@@ -87,4 +87,3 @@ export function getInstanceApiMenus (lang = '') {
8787
{ text: 'resize', link: `${prefix}/resize` }
8888
]
8989
}
90-

docs/.vitepress/config/zh-CN.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default defineConfig({
3131
{ text: '9.x 文档', link: 'https://v9.klinecharts.com' },
3232
{ text: '8.x 文档', link: 'https://v8.klinecharts.com/zh-CN' }
3333
]
34-
},
34+
}
3535
],
3636
sidebar: {
3737
'/guide/': [
@@ -118,9 +118,9 @@ export const search = {
118118
footer: {
119119
selectText: '选择',
120120
navigateText: '切换',
121-
closeText: '关闭',
121+
closeText: '关闭'
122122
}
123123
}
124124
}
125125
}
126-
}
126+
}

docs/.vitepress/theme/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import './style.css'
99

1010
export default {
1111
extends: Theme,
12-
Layout: Layout,
13-
enhanceApp({ app }) {
12+
Layout,
13+
enhanceApp ({ app }) {
1414
app.component('Badge', Badge)
1515
}
1616
}

docs/@views/customize/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ const { lang } = useData()
164164
.customize-content-item-price {
165165
display: flex;
166166
justify-content: center;
167+
align-items: center;
167168
font-size: 32px;
168169
font-weight: bold;
169170
text-align: center;

docs/en-US/guide/changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# 📠 Change Log
22

3+
## 10.0.0-alpha4
4+
`2025-02-23`
5+
+ 🐞 Fix the issue that the parameter `more.backward` of `applyNewData` instance method is incorrect.
6+
+ 🐞 Fix the issue that a single piece of data causes a chart error.
7+
38
## 10.0.0-alpha3
49
`2025-02-19`
510
+ 👉 The return value of the instance api `createIndicator` is changed to return the indicator id.

docs/guide/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# 📠 更新日志
22

3+
## 10.0.0-alpha4
4+
`2025-02-23`
5+
+ 🐞 修复实例方法 `applyNewData` 入参 `more.backward` 不对问题。
6+
+ 🐞 修复单条数据导致图表出错问题。
7+
8+
39
## 10.0.0-alpha3
410
`2025-02-19`
511
+ 👉 实例api `createIndicator` 返回值变更为返回指标id。

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "klinecharts",
3-
"version": "10.0.0-alpha3",
3+
"version": "10.0.0-alpha4",
44
"description": "Lightweight k-line chart built with html5 canvas",
55
"type": "module",
66
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)