docs(web): 工作区 - 重建文档索引 docs/index.md

- 按 AGENTS.md 第 10 节恢复 docs/index.md 面向 AI 的短索引:设计沉淀入口 + 约定维护位说明\n- .gitignore 追加 !docs/index.md(与 docs/design/ 一并随 PR 分发,其余 docs 保持本地)
This commit is contained in:
sikongyue
2026-08-20 01:03:40 +08:00
parent 4e580b6b7b
commit 126169639b
2 changed files with 21 additions and 0 deletions

1
.gitignore vendored
View File

@@ -3,6 +3,7 @@ out/
node_modules/
docs/*
!docs/design/
!docs/index.md
.env*
!.env.example
data/

20
docs/index.md Normal file
View File

@@ -0,0 +1,20 @@
# 影策 · AI 文档索引
面向 AI 的短索引。详细文档维护规则见 [AGENTS.md](../AGENTS.md) 第 10 节「文档同步」。
## 设计沉淀
- [工作区外壳设计沉淀](design/workspace-shell-design.mdx):侧栏(260px 可折叠导航 + 分组折叠)、主区卡片、顶部栏(账户/公告/主题)的设计决策与样式约束。
## 本地协作文档(不随仓库分发)
- [beautifului 创作设计](beautifului-creation-design.md):本地设计参考,未纳入版本控制。
## 按约定维护的文档(`docs/content/docs/`)
功能、代码地图、待办、待测试分别维护在以下页面(当前缺失,待后续任务重建):
- 功能:`features.mdx`
- 代码地图:`code-map.mdx`
- 待办:`todo.mdx`
- 待测试:`pending-test.mdx`