Skip to content

Commit 822eb86

Browse files
committed
docs: 修复 4 处断链引用(2026-08 文档合并时漏改)
plugin-to-pack-evolution / deployment-strategy / agent-theme-architecture 在 b4fb58a "consolidate docs" 中被删除但幸存文档引用未更新。 - architecture-layering.md(×2):指向 vault/internal/pack/ - lessons-learned.md:deployment-strategy → deployment-guide.md - theme-host-design.md + execution-plan:agent-theme-architecture → theme-concepts.md
1 parent 2b701e2 commit 822eb86

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/architecture-layering.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ vault/
206206
JSVM 钩子直接使用 pb 原生全局 API
207207
(`$app``Record``onRecordAfterCreateSuccess``cronAdd` 等),pb 的 jsvm 插件自动
208208
将这些 API 注入每个 executor VM。扩展系统从 Plugin 演进到 Pack 的完整历史见
209-
[`docs/plugin-to-pack-evolution.md`](./plugin-to-pack-evolution.md)
209+
`vault/internal/pack/`(旧 Plugin 制已废弃;原独立演进文档已在 2026-08 文档合并中移除)。
210210

211211
`pb_hooks/` 目录内容:
212212

@@ -483,7 +483,7 @@ interface VanblogSite {
483483
}
484484
```
485485

486-
> 扩展系统从 Plugin 到 Pack 的完整演进分析见 [`docs/plugin-to-pack-evolution.md`](./plugin-to-pack-evolution.md)
486+
> 扩展系统从 Plugin 到 Pack 的演进分析见 `vault/internal/pack/`(原独立文档已在 2026-08 文档合并中移除)。
487487
488488
---
489489

docs/lessons-learned.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ migratecmd.MustRegister(app, app.RootCmd, migratecmd.Config{...})
9494
- `CGO_ENABLED=0 go build -ldflags="-s -w"` (静态链接 + 去符号表)
9595
- Alpine base (~7MB)
9696
- Caddy + nodejs + ca-certificates + tzdata
97-
- prod 实际包含 Node.js 并运行 Astro SSR server(见 §0.4 / `deployment-strategy.md` §0.4),与早期"纯 SSG 无 Node"的设想不同
97+
- prod 实际包含 Node.js 并运行 Astro SSR server(见 `deployment-guide.md`),与早期"纯 SSG 无 Node"的设想不同
9898

9999
---
100100

docs/theme-host-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
> **⚠️ 命名变更(2026-08)**:本模块已从「dispatcher」改名为 **theme host**`app/src/theme-host/index.mjs`,健康端点 `/__theme_host_health`)。它本质是托管多 theme handler 的轻量请求路由宿主,不是重型编排器。本文档(原 `theme-dispatcher-design.md`)与 `theme-host-execution-plan.md` 作为设计历史保留。
44
55
> **状态****已实现**(2026-08)。核心模型落地:单进程 theme host 动态 import 主题 handler + 按 `site.activeTheme` 热切换。**静态服务已按设计演进为 Caddy file_server**(见 `vault/internal/caddy/static_routes.go`,不再是 theme host sirv);admin 额外抽离为独立 SSR(`app/`,见 `docs/theme-concepts.md`)。本文档作为设计历史保留。
6-
> **前置阅读**[`agent-theme-architecture.md`](./agent-theme-architecture.md)[`theme-implementer-guide.md`](./theme-implementer-guide.md) > **目标**:定义「单进程多 theme handler」的运行模型,让 theme 切换从「重建镜像」降到「<5s 热切换」。
6+
> **前置阅读**[`theme-concepts.md`](./theme-concepts.md)[`theme-implementer-guide.md`](./theme-implementer-guide.md) > **目标**:定义「单进程多 theme handler」的运行模型,让 theme 切换从「重建镜像」降到「<5s 热切换」。
77
88
---
99

docs/theme-host-execution-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ func init() {
779779
**文档更新**:
780780
781781
- `docs/theme-implementer-guide.md` §10.3 更新切换表格(dev/prod 都是「<5s 生效」)
782-
- `docs/agent-theme-architecture.md` 同步
782+
- `docs/theme-concepts.md` 同步(原 agent-theme-architecture 已并入)
783783
- `README.md` 如果提到 theme 切换需要 rebuild,更新
784784
785785
**验收**:

0 commit comments

Comments
 (0)