fix(docs): 修正 API 参考链接路径并移除重复侧边栏配置

- 修正了 API 参考链接路径,移除了末尾多余的斜杠
- 移除了重复的 API 参考侧边栏配置项
- 确保导航链接的一致性和正确性
This commit is contained in:
GeWuYou 2026-03-07 23:34:11 +08:00
parent eaa59c03c3
commit 0d20a28385

View File

@ -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: [