Skip to content

Commit b961bb8

Browse files
committed
优化apidoc跳转路径
1 parent 7f96dba commit b961bb8

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/components/RepoDocCards.vue

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ const componentCards = [
8989
links: [
9090
[{name: "前往仓库", href: "https://github.com/simple-robot/simpler-robot", type: "info"}],
9191
[
92-
{name: "API文档", href: "main-v4", type: "primary"},
93-
{name: "API文档(快照)", href: "snapshots/main-v4", type: "primary"},
92+
{name: "API文档", href: "main-v4/", type: "primary"},
93+
{name: "API文档(快照)", href: "snapshots/main-v4/", type: "primary"},
9494
],
9595
[{name: "🍀官网", href: "https://simbot.forte.love", type: "default"}],
9696
]
@@ -110,10 +110,10 @@ const componentCards = [
110110
links: [
111111
[{name: "前往仓库", href: "https://github.com/simple-robot/simbot-component-kook", type: "info"}],
112112
[
113-
{name: "API文档", href: "components/kook", type: "primary"},
114-
{name: "API文档(快照)", href: "snapshots/components/kook", type: "primary"},
113+
{name: "API文档", href: "components/kook/", type: "primary"},
114+
{name: "API文档(快照)", href: "snapshots/components/kook/", type: "primary"},
115115
],
116-
[{name: "前往手册", href: "https://component-kook.simbot.forte.love/", type: "default"}],
116+
[{name: "前往手册", href: "https://simple-robot.github.io/simbot-component-kook", type: "default"}],
117117
]
118118
},
119119
{
@@ -129,10 +129,10 @@ const componentCards = [
129129
links: [
130130
[{name: "前往仓库", href: "https://github.com/simple-robot/simbot-component-qq-guild", type: "info"}],
131131
[
132-
{name: "API文档", href: "components/qq-guild", type: "primary"},
133-
{name: "API文档(快照)", href: "snapshots/components/qq-guild", type: "primary"}
132+
{name: "API文档", href: "components/qq-guild/", type: "primary"},
133+
{name: "API文档(快照)", href: "snapshots/components/qq-guild/", type: "primary"}
134134
],
135-
[{name: "前往手册", href: "http://component-qqguild.simbot.forte.love/", type: "default"}],
135+
[{name: "前往手册", href: "https://simple-robot.github.io/simbot-component-qq-guild", type: "default"}],
136136
]
137137
},
138138
{
@@ -148,8 +148,8 @@ const componentCards = [
148148
links: [
149149
[{name: "前往仓库", href: "https://github.com/simple-robot/simbot-component-onebot", type: "info"}],
150150
[
151-
{name: "API文档", href: "components/onebot", type: "primary"},
152-
{name: "API文档(快照)", href: "snapshots/components/onebot", type: "primary"}
151+
{name: "API文档", href: "components/onebot/", type: "primary"},
152+
{name: "API文档(快照)", href: "snapshots/components/onebot/", type: "primary"}
153153
],
154154
[{name: "前往手册", href: "https://simple-robot.github.io/simbot-component-onebot", type: "default"}],
155155
]
@@ -167,8 +167,8 @@ const componentCards = [
167167
links: [
168168
[{name: "前往仓库", href: "https://github.com/simple-robot/simbot-component-telegram", type: "info"}],
169169
[
170-
{name: "API文档", href: "components/telegram", type: "primary"},
171-
{name: "API文档(快照)", href: "snapshots/components/telegram", type: "primary"}
170+
{name: "API文档", href: "components/telegram/", type: "primary"},
171+
{name: "API文档(快照)", href: "snapshots/components/telegram/", type: "primary"}
172172
],
173173
[{name: "前往手册", href: "https://simple-robot.github.io/simbot-component-telegram", type: "default"}],
174174
]
@@ -186,8 +186,8 @@ const componentCards = [
186186
links: [
187187
[{name: "前往仓库", href: "https://github.com/simple-robot/simbot-component-discord", type: "info"}],
188188
[
189-
{name: "API文档", href: "components/discord", type: "primary"},
190-
{name: "API文档(快照)", href: "snapshots/components/discord", type: "primary"}
189+
{name: "API文档", href: "components/discord/", type: "primary"},
190+
{name: "API文档(快照)", href: "snapshots/components/discord/", type: "primary"}
191191
],
192192
[{name: "前往手册", href: "https://simple-robot.github.io/simbot-component-discord", type: "default"}],
193193
]
@@ -207,8 +207,8 @@ const componentCards = [
207207
links: [
208208
[{name: "前往仓库", href: "https://github.com/simple-robot/simbot-component-mirai", type: "info"}],
209209
[
210-
{name: "API文档", href: "components/mirai", type: "primary"},
211-
{name: "API文档(快照)", href: "snapshots/components/mirai", type: "primary"},
210+
{name: "API文档", href: "components/mirai/", type: "primary"},
211+
{name: "API文档(快照)", href: "snapshots/components/mirai/", type: "primary"},
212212
],
213213
[{name: "前往手册", href: "https://simple-robot.github.io/simbot-component-mirai", type: "default"}],
214214
]
@@ -227,8 +227,8 @@ const componentCards = [
227227
links: [
228228
[{name: "前往仓库", href: "https://github.com/simple-robot/simbot-component-miyoushe-villa", type: "info"}],
229229
[
230-
{name: "API文档", href: "components/miyoushe-villa", type: "primary"},
231-
{name: "API文档(快照)", href: "snapshots/components/miyoushe-villa", type: "primary"}
230+
{name: "API文档", href: "components/miyoushe-villa/", type: "primary"},
231+
{name: "API文档(快照)", href: "snapshots/components/miyoushe-villa/", type: "primary"}
232232
],
233233
[{name: "前往手册", href: "https://simple-robot.github.io/simbot-component-miyoushe-villa/", type: "default"}],
234234
]

0 commit comments

Comments
 (0)