2026-06-16 14:34:09 +08:00
|
|
|
export type DocsNavItem = {
|
|
|
|
|
href: string;
|
|
|
|
|
label: string;
|
|
|
|
|
children?: DocsNavItem[];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/** 与 content/_meta.js 保持同步的文档侧栏 */
|
|
|
|
|
export const docsNav: DocsNavItem[] = [
|
|
|
|
|
{ href: "/docs", label: "文档中心" },
|
|
|
|
|
{ href: "/docs/getting-started", label: "快速开始" },
|
|
|
|
|
{
|
2026-07-02 12:58:18 +08:00
|
|
|
href: "/docs/integrations/overview",
|
|
|
|
|
label: "工具接入",
|
2026-06-16 14:34:09 +08:00
|
|
|
children: [
|
2026-07-02 12:58:18 +08:00
|
|
|
{ href: "/docs/integrations/overview", label: "接入概览" },
|
|
|
|
|
{ href: "/docs/integrations/cursor", label: "Cursor" },
|
|
|
|
|
{ href: "/docs/integrations/claude_code", label: "Claude Code" },
|
|
|
|
|
{ href: "/docs/integrations/continue", label: "Continue" },
|
|
|
|
|
{ href: "/docs/integrations/cline", label: "Cline" },
|
2026-06-16 14:34:09 +08:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-07-02 12:58:18 +08:00
|
|
|
href: "/docs/guides/http_api",
|
|
|
|
|
label: "开发指南",
|
2026-06-16 14:34:09 +08:00
|
|
|
children: [
|
2026-07-02 12:58:18 +08:00
|
|
|
{ href: "/docs/guides/http_api", label: "HTTP API" },
|
|
|
|
|
{ href: "/docs/guides/openai_compatible", label: "OpenAI 兼容 SDK" },
|
|
|
|
|
{ href: "/docs/guides/streaming", label: "流式调用" },
|
2026-06-16 14:34:09 +08:00
|
|
|
{ href: "/docs/guides/console", label: "控制台" },
|
|
|
|
|
{ href: "/docs/guides/api_keys", label: "API Key" },
|
2026-07-02 12:58:18 +08:00
|
|
|
{ href: "/docs/guides/billing", label: "计费与财务" },
|
2026-06-16 14:34:09 +08:00
|
|
|
],
|
|
|
|
|
},
|
2026-07-02 12:58:18 +08:00
|
|
|
{
|
|
|
|
|
href: "/docs/concepts/overview",
|
|
|
|
|
label: "核心概念",
|
|
|
|
|
children: [{ href: "/docs/concepts/overview", label: "核心概念" }],
|
|
|
|
|
},
|
2026-06-16 14:34:09 +08:00
|
|
|
{ href: "/docs/faq", label: "常见问题" },
|
2026-07-02 12:58:18 +08:00
|
|
|
{
|
|
|
|
|
href: "/docs/legal/user-agreement",
|
|
|
|
|
label: "法律条款",
|
|
|
|
|
children: [
|
|
|
|
|
{ href: "/docs/legal/user-agreement", label: "用户协议" },
|
|
|
|
|
{ href: "/docs/legal/privacy", label: "隐私政策" },
|
|
|
|
|
],
|
|
|
|
|
},
|
2026-06-16 14:34:09 +08:00
|
|
|
];
|