feat: initialize VitePress CMS

This commit is contained in:
Coldsmile_7
2026-06-05 23:21:41 +08:00
commit 928f742d5e
45 changed files with 8214 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
---
title: 配置说明
description: 测试 VitePress 配置解析
---
# 配置说明
这个页面用于测试 `.vitepress/config.ts` 的读取与回写。
## 第一版优先支持
- `title`
- `description`
- `themeConfig.logo`
- `themeConfig.nav`
- `themeConfig.sidebar`
- `themeConfig.socialLinks`
- `themeConfig.search`

View File

@@ -0,0 +1,17 @@
---
title: 快速开始
description: 测试站点的快速开始页面
---
# 快速开始
这个页面用于测试 VitePress-CMS 的 Markdown 编辑体验。
## 编辑流程
1. CMS 读取这个文件。
2. 用户在后台修改标题、描述和正文。
3. CMS 将修改保存回 Markdown 文件。
4. VitePress 重新构建站点。
> 这条链路跑通后,项目就从界面原型进入真实可用阶段。

View File

@@ -0,0 +1,20 @@
---
title: 页面管理
description: 测试页面目录、搜索和新增页面
---
# 页面管理
这个页面用于测试页面树和文件路径管理。
## 需要覆盖的场景
- 读取嵌套目录
- 新建 Markdown 页面
- 重命名页面
- 删除页面
- 移动页面位置
## 文件路径
当前文件路径是 `test-vitepress/guide/pages.md`