Add Web FreeCAD manual matrix, capture harness and chapter 1 pilot
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
33
web/manual/README.md
Normal file
33
web/manual/README.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# Web FreeCAD 全功能初学者图文教案
|
||||
|
||||
单页中文 HTML 教案:32 个模块、1492 条命令索引、核心模块分步截图、专业模块工作流与边界说明。
|
||||
|
||||
## 目录
|
||||
|
||||
- `content/*.md`:章节正文(front-matter: id/order/title/level)。
|
||||
- `scenarios/*.json`:Playwright 动作脚本,用于截图与断言。
|
||||
- `assets/<chapter>/<workflow>/`:真实界面截图。
|
||||
- `data/manual-features.json`:命令覆盖矩阵。
|
||||
- `data/inventory-snapshot.json`:输入文件 sha256。
|
||||
- `data/coverage-audit.json`:模块/章节/状态计数。
|
||||
- `data/capture/*.json`:每章截图与断言证据。
|
||||
- `fixtures/`:capture 保存的 FCStd。
|
||||
|
||||
## 构建
|
||||
|
||||
```bash
|
||||
cd /home/mes123456/FreeCADWasmDev/working/FreeCAD/web
|
||||
npm run manual:features # 生成命令矩阵
|
||||
node tools/manual/capture.mjs --scenario manual/scenarios/ch01-ui.json
|
||||
npm run build:manual # 生成 teaching/manual.html + manual-assets/
|
||||
npm run check:manual # 桌面/移动、图片、搜索、命令索引
|
||||
```
|
||||
|
||||
访问 `http://127.0.0.1:5190/manual.html`。
|
||||
|
||||
## 口径
|
||||
|
||||
- 命令状态:`detailed` 精讲、`overview` 覆盖、`boundary` 边界、`verified` 已验证。
|
||||
- 大边界(TechDraw 跨 Worker、FEM 原生对象、CAM OpenCAMLib、glTF 原生导入导出、
|
||||
Material/Cloud)只标注,不写成可用。
|
||||
- 截图必须来自真实应用;0 pageError/consoleError、图片 >5 KB 才入库。
|
||||
Reference in New Issue
Block a user