docs(release): require slidev export verification

This commit is contained in:
Jacobinwwey 2026-06-18 00:06:25 -05:00
parent 9da5b7ab19
commit 0bf7bc3682
2 changed files with 10 additions and 0 deletions

View file

@ -38,6 +38,11 @@ Run `npm run chronicle:sync-repo-saga` and `npm run chronicle:update` serially.
If `obsidian-cli` is unavailable in the local environment, record it in release notes or release-handoff evidence.
If the change affects diagram semantics, also run the maintainer-local semantic layer in `docs/maintainer/diagram-semantic-verification.md`.
If the change affects Slidev export wiring, Slidev settings, source preparation, local fork detection, or HTML/PDF/PNG/MP4 export behavior, also run the maintainer-local workflow in `docs/maintainer/slidev-export-workflow.md`:
```bash
npm run verify:slidev-export
```
That command intentionally writes inspectable artifacts under `docs/export/`; do not include those generated files in a commit unless the release task explicitly asks for them.
Recommended helper:
```bash
npm run verify:diagram-semantics -- --vault "<vault-name>" --commit "<sha>" --version "<plugin-version>" --output ~/tmp/notemd-diagram-check.md

View file

@ -38,6 +38,11 @@ git diff --check
如果本地环境缺少 `obsidian-cli`,请在发布说明或交接证据中明确记录。
如果改动触及图表语义,还必须执行 `docs/maintainer/diagram-semantic-verification.zh-CN.md` 中定义的维护者本地语义核验层。
如果改动触及 Slidev 导出接线、Slidev 设置、source preparation、本地 fork 探测,或 HTML/PDF/PNG/MP4 导出行为,还必须执行 `docs/maintainer/slidev-export-workflow.zh-CN.md` 中定义的维护者本地工作流:
```bash
npm run verify:slidev-export
```
该命令会有意在 `docs/export/` 下写出可检查产物;除非发布任务明确要求,不应把这些生成文件提交进 commit。
推荐辅助命令:
```bash
npm run verify:diagram-semantics -- --vault "<vault-name>" --commit "<sha>" --version "<plugin-version>" --output ~/tmp/notemd-diagram-check.md