Skip to content

fix(docs): #453 评审跟进 —— 架构图 Vite 标注 · typecheck 说法 · 字阶查 font 简写 · 目录不丢第三层 - #454

Merged
yile2020 merged 1 commit into
mainfrom
docs/453-review-followup
Nov 26, 2026
Merged

yile2020 merged 1 commit into
mainfrom
docs/453-review-followup

Conversation

@yile2020

Copy link
Copy Markdown
Owner

#453 合并时自动合并先于这次评审跟进的提交,这 5 条修复没赶上,单独补一个 PR。

  • 架构图的 Vite 卡片写「接口直连 :8088」:开发时 Vite 只代理 /uploads,接口由浏览器直连后端(API_BASE)
  • 项目介绍「pnpm typecheck 覆盖每一个包」改成「每一个 TypeScript 包」(文档站 / 后端没有这项),中英文
  • check-type.mjs 也查 font: 简写,只放行 inherit / 整条变量。反向验证:写 font: 600 13px/1.4 sans-serif 报 1 处、退出 1
  • DocsToc 把更深的标题拍平进小节列表,不再静默丢掉。实测:临时给常见问题页加 h4 + maxHeadingLevel: 4,目录里出现
  • DiagramArchitecture 的 Props 数组改 readonly,接得住 as const 的数据。tsc 核对:改前 TS2322,改后通过

本地 pnpm build:65 页 0 断链 · 字阶 0 处越界 · 标题 704 条 0 处越界。

🤖 Generated with Claude Code

…不丢第三层 · 架构数据类型

- 架构图的 Vite 卡片写「接口直连 :8088」:开发时 Vite 只代理 /uploads,接口由浏览器直连后端
- 项目介绍「pnpm typecheck 覆盖每一个包」改成「每一个 TypeScript 包」(文档站 / 后端没有这项)
- check-type.mjs 也查 `font:` 简写,只放行 inherit / 整条变量(反向验证:写 `font: 600 13px/1.4` 报 1 处、退出 1)
- DocsToc 把更深的标题拍平进小节列表,不再静默丢掉(实测:临时加 h4 + maxHeadingLevel 4,目录里出现)
- DiagramArchitecture 的 Props 数组改 readonly,接得住 `as const` 的数据(tsc 核对:改前 TS2322,改后通过)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yile2020
yile2020 enabled auto-merge November 26, 2026 15:21
@yile2020
yile2020 merged commit beac462 into main Nov 26, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant