mirror of
https://github.com/longbridge/developers.git
synced 2026-09-19 03:34:09 +08:00
2dd452943a
## Summary - Promote MCP from a Docs sub-page to a top-level nav entry (URL stays `/docs/mcp`) - Add **Available tools** section: 100+ tools live-fetched at build time from `openapi.longbridge.com/mcp/tools.json`, with search + single-expand accordion + snapshot fallback - Rewrite **Available capabilities** to 6 rows (realtime / fundamentals / derivatives / account / trading / automation) - Bump CLI command count `65+` -> `120+` All changes synced across `en` / `zh-CN` / `zh-HK`. ## Test plan - [ ] Top nav shows MCP between CLI and API Reference; `/docs/mcp` has no left sidebar - [ ] Section order: Available capabilities -> Available tools -> Prerequisites -> Client setup - [ ] Search + expand works; only one tool expanded at a time; out-of-view auto-scrolls inside the panel only - [ ] `bun run build:canary` passes; snapshot fallback triggers on URL sabotage --------- Co-authored-by: 袁章洪 <zhanghong.yuan@longbridge-inc.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
vitepress 常用语法
// [!code focus]可以使得代码块聚焦某一行ts{2-3,5}使得第 2-3 行和第 5 行显示高亮- 在某一行上添加
// [!code --]或// [!code ++]注释将创建该行的差异,同时保留代码块的颜色// [!code warning]或// [!code error]错误和警告
::: code-group实现代码组:::tabs key:language实现记忆组切换