ForcePilot/docs/.vitepress/config.mts
Wenjie Zhang 371f717881 feat: 更新环境变量配置路径
- 新增 .env.template 文件,提供环境变量配置示例
- 更新 docker-compose.yml 和相关文档,调整 .env 文件路径至项目根目录
- 修正文档中对环境变量配置的引用,确保一致性
2025-10-10 18:07:06 +08:00

88 lines
2.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { defineConfig } from 'vitepress'
import markdownItTaskCheckbox from 'markdown-it-task-checkbox'
// https://vitepress.dev/reference/site-config
export default defineConfig({
lang: 'zh-CN',
title: "Yuxi-Know Docs",
description: "文档中心",
base: '/Yuxi-Know/',
markdown: {
config: (md) => {
md.use(markdownItTaskCheckbox)
}
},
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
logo: "/favicon.svg",
nav: [
{ text: '快速开始', link: '/intro/quick-start' },
],
sidebar: [
{
text: '简介',
items: [
{ text: '什么是 Yuxi-Know', link: '/intro/project-overview' },
{ text: '快速开始', link: '/intro/quick-start' },
{ text: '模型配置', link: '/intro/model-config' },
{ text: '知识库与知识图谱', link: '/intro/knowledge-base' }
]
},
{
text: '高级配置',
items: [
{ text: '文档解析', link: '/advanced/document-processing' },
{ text: '智能体', link: '/advanced/agents' },
{ text: '品牌自定义', link: '/advanced/branding' },
{ text: '其他配置', link: '/advanced/misc' }
]
},
{
text: '更新日志',
items: [
{ text: '路线图', link: '/changelog/roadmap' },
{ text: '参与贡献', link: '/changelog/contributing' },
{ text: '常见问题', link: '/changelog/faq' },
{ text: '版本说明 v0.3', link: '/changelog/0.3-release-notes' }
]
}
],
socialLinks: [
{ icon: 'github', link: 'https://github.com/xerrors/Yuxi-Know' }
],
footer: {
message: '本项目基于 MIT License 开源,欢迎使用和贡献。',
copyright: 'Copyright © 2025-present Yuxi'
},
editLink: {
pattern: 'https://github.com/xerrors/Yuxi-Know/edit/main/docs/:path',
text: '在 GitHub 上编辑此页'
},
lastUpdated: {
text: '最后更新时间',
formatOptions: {
dateStyle: 'full',
timeStyle: 'medium'
}
},
search: {
provider: 'local'
},
docFooter: {
prev: '上一页',
next: '下一页'
}
},
})