feat: initialize VitePress CMS
This commit is contained in:
18
test-vitepress/guide/config.md
Normal file
18
test-vitepress/guide/config.md
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
title: 配置说明
|
||||
description: 测试 VitePress 配置解析
|
||||
---
|
||||
|
||||
# 配置说明
|
||||
|
||||
这个页面用于测试 `.vitepress/config.ts` 的读取与回写。
|
||||
|
||||
## 第一版优先支持
|
||||
|
||||
- `title`
|
||||
- `description`
|
||||
- `themeConfig.logo`
|
||||
- `themeConfig.nav`
|
||||
- `themeConfig.sidebar`
|
||||
- `themeConfig.socialLinks`
|
||||
- `themeConfig.search`
|
||||
17
test-vitepress/guide/getting-started.md
Normal file
17
test-vitepress/guide/getting-started.md
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
title: 快速开始
|
||||
description: 测试站点的快速开始页面
|
||||
---
|
||||
|
||||
# 快速开始
|
||||
|
||||
这个页面用于测试 VitePress-CMS 的 Markdown 编辑体验。
|
||||
|
||||
## 编辑流程
|
||||
|
||||
1. CMS 读取这个文件。
|
||||
2. 用户在后台修改标题、描述和正文。
|
||||
3. CMS 将修改保存回 Markdown 文件。
|
||||
4. VitePress 重新构建站点。
|
||||
|
||||
> 这条链路跑通后,项目就从界面原型进入真实可用阶段。
|
||||
20
test-vitepress/guide/pages.md
Normal file
20
test-vitepress/guide/pages.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
title: 页面管理
|
||||
description: 测试页面目录、搜索和新增页面
|
||||
---
|
||||
|
||||
# 页面管理
|
||||
|
||||
这个页面用于测试页面树和文件路径管理。
|
||||
|
||||
## 需要覆盖的场景
|
||||
|
||||
- 读取嵌套目录
|
||||
- 新建 Markdown 页面
|
||||
- 重命名页面
|
||||
- 删除页面
|
||||
- 移动页面位置
|
||||
|
||||
## 文件路径
|
||||
|
||||
当前文件路径是 `test-vitepress/guide/pages.md`。
|
||||
Reference in New Issue
Block a user