From 0d20a28385abc616dbaba786515e1cbcf8b2cbde Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Sat, 7 Mar 2026 23:34:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(docs):=20=E4=BF=AE=E6=AD=A3=20API=20?= =?UTF-8?q?=E5=8F=82=E8=80=83=E9=93=BE=E6=8E=A5=E8=B7=AF=E5=BE=84=E5=B9=B6?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E9=87=8D=E5=A4=8D=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修正了 API 参考链接路径,移除了末尾多余的斜杠 - 移除了重复的 API 参考侧边栏配置项 - 确保导航链接的一致性和正确性 --- docs/.vitepress/config.mts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 919ee59..a6aaef0 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -55,7 +55,7 @@ export default defineConfig({ { text: '更多', items: [ - { text: 'API 参考', link: '/zh-CN/api-reference/' }, + { text: 'API 参考', link: '/zh-CN/api-reference' }, { text: '常见问题', link: '/zh-CN/faq' }, { text: '故障排查', link: '/zh-CN/troubleshooting' }, { text: '迁移指南', link: '/zh-CN/migration-guide' }, @@ -217,15 +217,6 @@ export default defineConfig({ ] } ], - - '/zh-CN/api-reference/': [ - { - text: 'API 参考', - items: [ - { text: 'API 文档', link: '/zh-CN/api-reference/' } - ] - } - ], }, socialLinks: [