feat: 添加接口文档链接至指南,更新配置以支持多语言API参考

This commit is contained in:
wood911010 committed 2025-11-19 22:18:46 +08:00
1 parent 04b2d33d06
commit 55346d59cb
3 files changed
+14 -3

No files matched your search

+6 -3
View File
@@ -26,7 +26,8 @@ export default {
text: '指南',
items: [
{ text: '介绍', link: '/guide/' },
{ text: '快速开始', link: '/guide/getting-started' }
{ text: '快速开始', link: '/guide/getting-started' },
{ text: '接口文档', link: '/guide/api' }
]
}
]
@@ -47,7 +48,8 @@ export default {
text: 'Guide',
items: [
{ text: 'Introduction', link: '/en/guide/' },
{ text: 'Getting Started', link: '/en/guide/getting-started' }
{ text: 'Getting Started', link: '/en/guide/getting-started' },
{ text: 'API Reference', link: '/en/guide/api' }
]
}
]
@@ -68,7 +70,8 @@ export default {
text: 'Guide',
items: [
{ text: 'Introduction', link: '/guide/' },
{ text: 'Getting Started', link: '/guide/getting-started' }
{ text: 'Getting Started', link: '/guide/getting-started' },
{ text: 'API 文档 | API Reference', link: '/guide/api' }
]
}
]
+4
View File
@@ -0,0 +1,4 @@
# API Reference
Official: [https://docs.lm.cedar-v.com/api/](https://docs.lm.cedar-v.com/api/)
Local deployment: [http://localhost:18888/swagger/index.html](http://localhost:18888/swagger/index.html)
+4
View File
@@ -0,0 +1,4 @@
# 接口文档
官方:[https://docs.lm.cedar-v.com/api/](https://docs.lm.cedar-v.com/api/)
本地部署:[http://localhost:18888/swagger/index.html](http://localhost:18888/swagger/index.html)