docs(plan): P4 Task 5 勾选补全
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -72,7 +72,7 @@ scripts/sf.ts # + content:publish / build:create / preview:star
|
||||
- [ ] 实现:getStaticPaths 读 SF_BUILD_INPUT 的 routes.json(html 行)+ 按内容类型/路径特征分派模板:`/`→home;`/product-category/*` 或 `/category/*`→列表(taxonomy.json 查 term+content.json 过滤关联内容);内容页按 typeKey(product→详情含参数表+相册、news_article→正文+日期、basic_page→富文本);/news/ 特判 news-list。分页:**V1 一律不做**(/news/ 129 条单页全列 + taxonomy 列表同——分页路由不在 routes.json 会自破门禁①死链;触发条件与路由登记义务一并记 ADR-018 移交 Plan 5)
|
||||
- [ ] 绿 → commit `feat(theme): 六类页面渲染与路由分派`
|
||||
|
||||
### Task 5: 构建管线(astro 构建 + 媒体落盘 + sitemap/robots)
|
||||
### Task 5: 构建管线(astro 构建 + 媒体落盘 + sitemap/robots)✅ 完成(1ed3ac0 + 修复 41829e2 + nit 06ba069,双审通过;385 测试;审查战果:**Windows taskkill 树杀**(孤儿 astro 实证复现后封堵)、错误码分阶段包裹+PIPELINE_INTERNAL、dist 双位置纪律、五禁含无网 stub(telemetry 实联网发现)、/products/ 主列表分派真修。审查移交 Task 6/8 三项已记)
|
||||
|
||||
**Files:** `build.service.ts` 扩展(spawn astro build→媒体复制→sitemap→产物登记);Test `tests/integration/build-pipeline.test.ts`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user