31 lines
888 B
TypeScript
31 lines
888 B
TypeScript
|
|
export type DocsNavItem = {
|
||
|
|
href: string;
|
||
|
|
label: string;
|
||
|
|
children?: DocsNavItem[];
|
||
|
|
};
|
||
|
|
|
||
|
|
/** 与 content/_meta.js 保持同步的文档侧栏 */
|
||
|
|
export const docsNav: DocsNavItem[] = [
|
||
|
|
{ href: "/docs", label: "文档中心" },
|
||
|
|
{ href: "/docs/getting-started", label: "快速开始" },
|
||
|
|
{
|
||
|
|
href: "/docs/models/openai",
|
||
|
|
label: "AI 模型接入",
|
||
|
|
children: [
|
||
|
|
{ href: "/docs/models/openai", label: "OpenAI" },
|
||
|
|
{ href: "/docs/models/claude", label: "Claude" },
|
||
|
|
{ href: "/docs/models/deepseek", label: "DeepSeek" },
|
||
|
|
],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
href: "/docs/guides/console",
|
||
|
|
label: "使用指南",
|
||
|
|
children: [
|
||
|
|
{ href: "/docs/guides/console", label: "控制台" },
|
||
|
|
{ href: "/docs/guides/api_keys", label: "API Key" },
|
||
|
|
{ href: "/docs/guides/streaming", label: "流式调用" },
|
||
|
|
],
|
||
|
|
},
|
||
|
|
{ href: "/docs/faq", label: "常见问题" },
|
||
|
|
];
|