Some checks failed
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
- 新增 docs/ 目录,使用 VitePress 构建文档站 - 添加 .gitea/workflows/deploy.yaml,部署到 Cloudflare Pages - 新增 setup.sh 一站式安装脚本(兼容 macOS bash 3.x) - 修复 Gemini CLI 脚本认证头(改用 Authorization: Bearer) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
63 lines
1.3 KiB
TypeScript
63 lines
1.3 KiB
TypeScript
import { defineConfig } from 'vitepress'
|
|
|
|
export default defineConfig({
|
|
title: 'XCodeCLI',
|
|
description: '一键配置 Claude Code / Gemini CLI / Codex',
|
|
lang: 'zh-CN',
|
|
|
|
head: [
|
|
['link', { rel: 'icon', href: '/favicon.ico' }]
|
|
],
|
|
|
|
themeConfig: {
|
|
logo: '/logo.svg',
|
|
|
|
nav: [
|
|
{ text: '首页', link: '/' },
|
|
{ text: '快速开始', link: '/guide/' },
|
|
// { text: 'API 状态', link: '/status' }
|
|
],
|
|
|
|
sidebar: [
|
|
{
|
|
text: '快速开始',
|
|
items: [
|
|
{ text: '介绍', link: '/guide/' },
|
|
{ text: 'Claude Code', link: '/guide/claude-code' },
|
|
{ text: 'Gemini CLI', link: '/guide/gemini-cli' },
|
|
{ text: 'Codex', link: '/guide/codex' }
|
|
]
|
|
},
|
|
{
|
|
text: '参考',
|
|
items: [
|
|
// { text: 'API 端点', link: '/reference/endpoints' },
|
|
// { text: '常见问题', link: '/reference/faq' }
|
|
]
|
|
}
|
|
],
|
|
|
|
socialLinks: [
|
|
{ icon: 'github', link: 'https://gitea.sususu.cf/sususu/xcodecli-shells' }
|
|
],
|
|
|
|
footer: {
|
|
message: 'XCodeCLI API Router',
|
|
copyright: '© 2025'
|
|
},
|
|
|
|
search: {
|
|
provider: 'local'
|
|
},
|
|
|
|
outline: {
|
|
label: '目录'
|
|
},
|
|
|
|
docFooter: {
|
|
prev: '上一页',
|
|
next: '下一页'
|
|
}
|
|
}
|
|
})
|