120 lines
3.6 KiB
TypeScript
120 lines
3.6 KiB
TypeScript
import { defineConfig } from 'vitepress'
|
|
|
|
export default defineConfig({
|
|
title: "OneinAI",
|
|
description: "OneinAI API doc",
|
|
themeConfig: {
|
|
nav: [
|
|
{ text: '首页', link: '/' },
|
|
{ text: '使用指南', link: '/intro/welcome' },
|
|
{ text: 'Node 安装', link: '/node/windows' },
|
|
{ text: '配置工具', link: '/guide/create-key' },
|
|
{
|
|
text: '部署指南',
|
|
items: [
|
|
{ text: 'Claude Code', link: '/deploy/claude-code' },
|
|
{ text: 'CodeX', link: '/deploy/codex' },
|
|
{ text: 'Gemini CLI', link: '/deploy/gemini-cli' },
|
|
{ text: 'Nano Banana', link: '/deploy/nano-banana' },
|
|
]
|
|
},
|
|
{
|
|
text: '第三方应用',
|
|
items: [
|
|
{ text: 'Cherry Studio', link: '/apps/cherry-studio' },
|
|
{ text: 'Hapi', link: '/apps/hapi' },
|
|
{ text: 'Hapi Advanced', link: '/apps/hapi-advanced' },
|
|
{ text: 'Alma', link: '/apps/alma' },
|
|
{ text: 'OpenClaw', link: '/apps/openclaw' },
|
|
{ text: 'OpenCode', link: '/apps/opencode' },
|
|
]
|
|
},
|
|
{
|
|
text: '支持与 FAQ',
|
|
link: '/support/faq'
|
|
},
|
|
],
|
|
|
|
sidebar: [
|
|
{
|
|
text: '介绍',
|
|
items: [
|
|
{ text: '欢迎', link: '/intro/welcome' },
|
|
{ text: '概览', link: '/intro/overview' },
|
|
{ text: '价格', link: '/intro/pricing' },
|
|
{ text: '相关链接', link: '/intro/links' },
|
|
]
|
|
},
|
|
{
|
|
text: 'Node 安装',
|
|
items: [
|
|
{ text: 'Windows', link: '/node/windows' },
|
|
{ text: 'macOS', link: '/node/macos' },
|
|
{ text: 'Linux', link: '/node/linux' },
|
|
]
|
|
},
|
|
{
|
|
text: '配置工具',
|
|
items: [
|
|
{ text: '创建 API Key', link: '/guide/create-key' },
|
|
{ text: '模型选择', link: '/guide/model-selection' },
|
|
{ text: '修改 Token', link: '/guide/modify-token' },
|
|
{ text: '充值', link: '/guide/recharge' },
|
|
{ text: '注册', link: '/guide/registration' },
|
|
{ text: 'API 参考', link: '/guide/api-reference' },
|
|
]
|
|
},
|
|
{
|
|
text: '部署指南',
|
|
items: [
|
|
{ text: 'Claude Code', link: '/deploy/claude-code' },
|
|
{ text: 'CodeX', link: '/deploy/codex' },
|
|
{ text: 'Gemini CLI', link: '/deploy/gemini-cli' },
|
|
{ text: 'Nano Banana', link: '/deploy/nano-banana' },
|
|
]
|
|
},
|
|
{
|
|
text: '第三方应用',
|
|
items: [
|
|
{ text: 'Cherry Studio', link: '/apps/cherry-studio' },
|
|
{ text: 'Hapi', link: '/apps/hapi' },
|
|
{ text: 'Hapi Advanced', link: '/apps/hapi-advanced' },
|
|
{ text: 'Alma', link: '/apps/alma' },
|
|
{ text: 'OpenClaw', link: '/apps/openclaw' },
|
|
{ text: 'OpenCode', link: '/apps/opencode' },
|
|
]
|
|
},
|
|
{
|
|
text: '工具',
|
|
items: [
|
|
{ text: 'CC Switch', link: '/tools/cc-switch' },
|
|
{ text: 'Claude Code Hub', link: '/tools/claude-code-hub' },
|
|
]
|
|
},
|
|
{
|
|
text: '技能',
|
|
items: [
|
|
{ text: 'IkunCode AI MCP', link: '/skills/ikuncode-aimcp' },
|
|
{ text: 'IkunImage', link: '/skills/ikunimage' },
|
|
]
|
|
},
|
|
{
|
|
text: '支持',
|
|
items: [
|
|
{ text: 'FAQ', link: '/support/faq' },
|
|
{ text: '售后', link: '/support/after-sales' },
|
|
{ text: '故障排查', link: '/support/troubleshooting' },
|
|
]
|
|
},
|
|
],
|
|
|
|
socialLinks: [
|
|
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
|
|
],
|
|
|
|
search: {
|
|
provider: 'local'
|
|
}
|
|
}
|
|
})
|