- 首页 hero 按钮和 feature 卡片从 Cherry Studio 改为 OpenClaw(飞书优先) - Cherry Studio 移入侧边栏「快速开始」分组,移除空的「参考」分组 - 修复 xcodeclaw.md 学术场景 showcase 区块因空行+缩进被解析为代码块的问题 - CTA 背景渐变改用主题变量,适配深色模式
65 lines
1.4 KiB
TypeScript
65 lines
1.4 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: "XCodeClaw", link: "/xcodeclaw" },
|
|
],
|
|
|
|
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: "Cherry Studio 配置", link: "/cherry-studio-nanobana" },
|
|
],
|
|
},
|
|
{
|
|
text: "XCodeClaw",
|
|
items: [
|
|
{ text: "产品介绍", link: "/xcodeclaw" },
|
|
{ text: "飞书机器人配置", link: "/guide/feishu-bot" },
|
|
],
|
|
},
|
|
],
|
|
|
|
socialLinks: [
|
|
{
|
|
icon: "github",
|
|
link: "https://gitea.sususu.cf/sususu/xcodecli-shells",
|
|
},
|
|
],
|
|
|
|
footer: {
|
|
message: "XCodeCLI API Router",
|
|
copyright: "© 2026",
|
|
},
|
|
|
|
search: {
|
|
provider: "local",
|
|
},
|
|
|
|
outline: {
|
|
label: "目录",
|
|
},
|
|
|
|
docFooter: {
|
|
prev: "上一页",
|
|
next: "下一页",
|
|
},
|
|
},
|
|
});
|