Skip to content

sla-and-escalation 三语都链到 /docs/administration/automation#case-escalation,而 automation 页没有这个锚点 #749

Description

@yinlianghui

顺手发现于 #739(在核对 automation 页的链接目标时)。观察类,用户点了会落到页首而不是目标段落,不影响信息正确性。

content/docs/service/sla-and-escalation.mdx:128(zh-Hans / zh-Hant 同行):

content/docs/administration/automation.mdx 的全部标题是:The five kinds / Validation rules / Workflow rules / Flows (multi-step) / Scheduled automation / Approvals / Order of operations / Email templates / Where to monitor automation / Tips for admins / Tips for users —— 没有 Case Escalation 这个标题,#case-escalation 因此是悬空锚点(Case Escalation 只是 "Flows (multi-step)" 一节表格里的一行)。同名锚点在 service/sla-and-escalation 自己页内是存在的(## Case escalation),大概率是当年复制链接时把域名部分改了、锚点没改。

修法二选一:把链接改成 /docs/administration/automation#flows-multi-step(指向真正含该行的一节),或者去掉锚点只链页面。三语同步。

如果认为这类问题值得拦住,content/docs 内部链接的锚点存在性可以做成一条测试(现有 test/docs-object-coverage.test.ts 只管页面存在与注册,不看锚点)。

Activity

  1. added
    documentationImprovements or additions to documentation
    bugSomething isn't working
    pm:queueReady for the PM dispatch loop
    and removed on Aug 5, 2026
  2. yinlianghui commented on Aug 5, 2026

    @yinlianghui
    CollaboratorAuthor

    同类第二例,记在这里而不是另开 issue:content/docs/guides/mobile.zh-Hans.mdx:10 与 mobile.zh-Hant.mdx:10 都链到 /zh-Hans/docs/whats-new#roadmap(繁体同形),而 zh 版 whats-new 的对应标题是 ## 路线图 / ## 路線圖(content/docs/whats-new.zh-Hans.mdx:98),锚点 slug 里没有 roadmap —— 英文页 mobile.mdx:10 的 #roadmap 是好的,翻译时标题译了、锚点没跟着译。

    发现于 #738 / PR #755:那页新增的两处 roadmap 链接,我在 zh 版里直接去掉了锚点只链页面,正是为了不再多添两个悬空锚点。

    这也再一次说明你在正文末尾提的那条测试值得做——按目前的证据,悬空锚点至少有两个来源:复制链接时只改了域名部分(本 issue),和翻译时只译了标题(这一例)。如果那条测试落地,建议把「链接前缀语言与页面语言一致」也一并检查(/docs/... 出现在 zh 页里、或 /zh-Hant/... 出现在 zh-Hans 页里)。


    Generated by Claude Code

  3. added
    pm:dispatchedDispatched to a dev agent by /pm-dispatch
    and removed
    pm:queueReady for the PM dispatch loop
    on Aug 6, 2026
  4. self-assigned this
    on Aug 6, 2026
  5. yinlianghui commented on Aug 6, 2026

    @yinlianghui
    CollaboratorAuthor

    [PM 认领 · R21 · 并单 #749+#764] session_01VHrPAGEgFDoHjphqYG4BMa · 分支 claude/issue-749-dangling-anchors · 文件面:content/docs/service/sla-and-escalation.mdx ×3 + content/docs/guides/mobile.zh-Han{s,t}.mdx + changeset

    两单同缺陷类(悬空锚点)、文件面互斥、均为小改,并单一个 PR(首行 Fixes #749,次行 Fixes #764)。裁定:

    1. sla-and-escalation 三语都链到 /docs/administration/automation#case-escalation,而 automation 页没有这个锚点 #749:en 页改链 /docs/administration/automation#flows-multi-step(Case Escalation Process 行真实所在节);zh-Hans/zh-Hant 去锚点只链页面——zh 页标题是「流程(多步骤)」,slug 与英文不同,按 PR docs(guides): email-and-calendar 按实测改写——Log a Call 的三写路径、活动指标所在仪表盘、连接器段落标注未落地 (#738) #755/docs(guides): 按实际落地能力重述 integrations 页,并校正指南索引描述行 (#756) #762 已立的写法(zh 侧不带锚点)。⚠️ automation 页 docs(automation): retire the workflow-rules section in all three locales (#833) #854 刚重构过,落笔前实测当前标题集与 slug,不照抄 issue 里的旧标题清单。
    2. guides/mobile 的 zh-Hans / zh-Hant 链到 whats-new#roadmap,而 zh 页的标题是「路线图」/「路線圖」——同为悬空锚点 #764:按其正文修法——zh 两页 roadmap 链接去锚点(/zh-Hans/docs/whats-new、/zh-Hant/docs/whats-new),en 侧 #roadmap 不动。
    3. 全仓同类扫尾:对 content/docs 内部链接的 #锚点 做一次存在性抽检(至少:grep 全部带锚点站内链接,人工核对目标页标题),新发现只报不改(先去重)。
    4. 锚点存在性测试(两单正文都提议):本单不加(守卫能力项,涉及三语 slug 生成规则)——若无在案单,以 out_of_scope_finding 立一张不带标签的能力单,把 sla-and-escalation 三语都链到 /docs/administration/automation#case-escalation,而 automation 页没有这个锚点 #749/guides/mobile 的 zh-Hans / zh-Hant 链到 whats-new#roadmap,而 zh 页的标题是「路线图」/「路線圖」——同为悬空锚点 #764 记录的两种成因(复制改域漏改锚 / 翻译译标题漏译锚)与「链接语言前缀一致性」一并写进去,便于两单关闭后仍可追溯。
    5. ⚠️ sla-and-escalation 是 「工作流规则」在 automation 之外还散布 8 个页族 ×3 语言共 33 处,其中 4 处把可配置项指向了不存在的配置面 #850 的 8 页族之一(未派)——只改这一处链接,不碰该页其它内容。

    ⛔ 不动 src/**、releases/;不升级 @objectstack/*;changeset 站内路径反引号;控制字节自扫;JSON 报告按标准 schema(issue 字段填 749,summary 里两单分开陈述)。


    Generated by Claude Code

  6. yinlianghui commented on Aug 6, 2026

    @yinlianghui
    CollaboratorAuthor

    [PM 验收] PR #868 ACCEPT(并单 #749+#764)— 已转 ready 并挂 auto-merge(session_01VHrPAGEgFDoHjphqYG4BMa)

    复核结论:

    越界发现处置:#866 入队 pm:queue(C 类 8 处 zh 锚点的写法分歧另评裁定);#867 记 finding(守卫能力项:锚点存在性 + 语言前缀一致性 + link-check 扫描面,实现约束「必须复用 github-slugger 本体」已写明,防自欺)。finding 池 +1 → 12。


    Generated by Claude Code

  7. added and removed on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions