Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/.vitepress/locales/en/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ export const nav = (): DefaultTheme.NavItem[] => {
return [
{ text: 'Developer', link: '/', activeMatch: '^(/en)?/$' },
{ text: 'SDK', link: '/sdk', activeMatch: '^(/en)?/sdk' },
{ text: 'Docs', link: '/docs', activeMatch: `^(/en)?/docs(?!/llm)` },
{ text: 'Docs', link: '/docs', activeMatch: `^(/en)?/docs(?!/llm|/mcp)` },
{ text: 'MCP', link: '/docs/mcp', activeMatch: '^(/en)?/docs/mcp' },
{ text: 'LLM', link: '/docs/llm', activeMatch: '^(/en)?/docs/llm' },
{ text: 'Discuss & Feedback', link: 'https://github.com/longportapp/openapi/issues', target: '_blank' },
]
Expand Down
3 changes: 2 additions & 1 deletion docs/.vitepress/locales/zh-CN/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ export const nav = (lang: string): DefaultTheme.NavItem[] => {
return [
{ text: '开发者认证', link: `/${lang}/`, activeMatch: `^/${lang}/$` },
{ text: 'SDK', link: `/${lang}/sdk`, activeMatch: `^/${lang}/sdk` },
{ text: '文档', link: `/${lang}/docs`, activeMatch: `^/${lang}/docs(?!/llm)` },
{ text: '文档', link: `/${lang}/docs`, activeMatch: `^/${lang}/docs(?!/llm|/mcp)` },
{ text: 'MCP', link: `/${lang}/docs/mcp`, activeMatch: `^/${lang}/docs/mcp` },
{ text: 'LLM', link: `/${lang}/docs/llm`, activeMatch: `^/${lang}/docs/llm` },
{ text: '讨论 & 反馈', link: 'https://github.com/longportapp/openapi/issues', target: '_blank' },
]
Expand Down
3 changes: 2 additions & 1 deletion docs/.vitepress/locales/zh-HK/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ export const nav = (lang: string): DefaultTheme.NavItem[] => {
return [
{ text: '開發者認證', link: `/${lang}/`, activeMatch: `^/${lang}/$` },
{ text: 'SDK', link: `/${lang}/sdk`, activeMatch: `^/${lang}/sdk` },
{ text: '文檔', link: `/${lang}/docs`, activeMatch: `^/${lang}/docs(?!/llm)` },
{ text: '文檔', link: `/${lang}/docs`, activeMatch: `^/${lang}/docs(?!/llm|/mcp)` },
{ text: 'MCP', link: `/${lang}/docs/mcp`, activeMatch: `^/${lang}/docs/mcp` },
{ text: 'LLM', link: `/${lang}/docs/llm`, activeMatch: `^/${lang}/docs/llm` },
{ text: '討論 & 反饋', link: 'https://github.com/longportapp/openapi/issues', target: '_blank' },
]
Expand Down
2 changes: 1 addition & 1 deletion docs/en/docs/mcp.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 2
slug: /mcp
sidebar_label: MCP
sidebarCollapsed: true
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-CN/docs/mcp.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 2
slug: /mcp
sidebar_label: MCP
sidebarCollapsed: true
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-HK/docs/mcp.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 2
slug: /mcp
sidebar_label: MCP
sidebarCollapsed: true
Expand Down