Skip to content

Commit 9efdab0

Browse files
committed
fix: Links resolution
1 parent 35c8a31 commit 9efdab0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/documentation/.vitepress/config.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,17 @@ function nav() {
105105
items: [
106106
{
107107
text: 'V4',
108-
link: '../v4/',
108+
link: `/../v4/`,
109109
target: "_self"
110110
},
111111
{
112112
text: 'V3',
113-
link: '../v3/',
113+
link: `/../v3/`,
114114
target: "_self"
115115
},
116116
{
117117
text: 'V2',
118-
link: '../v2/',
118+
link: `/../v2/`,
119119
target: "_self"
120120
}
121121
]
@@ -275,7 +275,8 @@ function guide() {
275275
},
276276
{
277277
text: "API Reference",
278-
link: "./api/index.html",
278+
link: "/api/index.html",
279+
target: "_blank"
279280

280281
},
281282

0 commit comments

Comments
 (0)