docs(ai): 添加 RAGFlow MCP 部署文档与 AI 栏目整理
- 新增 Windows 11 RAGFlow + MCP 完整部署记录 - 添加 AI 栏目首页与免费模型 API 文档 - 更新 VuePress 配置与 collections 结构 - 添加缓存清理和文档同步脚本
This commit is contained in:
@@ -29,6 +29,28 @@ export default defineCollections([
|
||||
})),
|
||||
}),
|
||||
|
||||
defineCollection({
|
||||
type: 'doc',
|
||||
dir: 'notes/ai',
|
||||
title: '模型',
|
||||
linkPrefix: '/ai/',
|
||||
sidebar: [
|
||||
{ text: '模型', link: '/ai/' },
|
||||
{
|
||||
text: '部署与工具链',
|
||||
collapsed: false,
|
||||
items: [
|
||||
{ text: 'RAGFlow 与 MCP', link: '/article/windows11-ragflow-deployment-mcp/' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: '模型与 API',
|
||||
collapsed: false,
|
||||
items: [{ text: '大模型 API 整合', link: '/article/free_model_api/' }],
|
||||
},
|
||||
],
|
||||
}),
|
||||
|
||||
defineCollection({
|
||||
type: 'doc',
|
||||
dir: 'notes/subject/english',
|
||||
|
||||
@@ -27,6 +27,13 @@ export default defineUserConfig({
|
||||
'@theme/Blog/VPPostItem.vue': path.resolve(__dirname, './theme/Blog/VPPostItem.vue'),
|
||||
},
|
||||
},
|
||||
/**
|
||||
* 强制预构建含 encodeSVG 的 client 入口,避免 docs/.vuepress/.cache/deps 里残留旧版
|
||||
* @vuepress/helper 导致 dev 下「does not provide an export named encodeSVG」整页白屏。
|
||||
*/
|
||||
optimizeDeps: {
|
||||
include: ['@vuepress/helper/client'],
|
||||
},
|
||||
},
|
||||
}),
|
||||
shouldPrefetch: false,
|
||||
|
||||
@@ -9,6 +9,10 @@ export default defineNavbarConfig([
|
||||
text: '博客',
|
||||
link: '/blog/',
|
||||
},
|
||||
{
|
||||
text: '模型',
|
||||
link: '/ai/',
|
||||
},
|
||||
{
|
||||
text: '学科知识',
|
||||
items: [
|
||||
|
||||
Reference in New Issue
Block a user