Skip to content

docs: fix broken Chinese anchor in skills.md#18

Closed
scyyh11 wants to merge 1 commit into
Bobholamovic:feat/enginefrom
scyyh11:fix/skills-zh-anchor
Closed

docs: fix broken Chinese anchor in skills.md#18
scyyh11 wants to merge 1 commit into
Bobholamovic:feat/enginefrom
scyyh11:fix/skills-zh-anchor

Conversation

@scyyh11
Copy link
Copy Markdown

@scyyh11 scyyh11 commented Apr 20, 2026

Fix

Attach an explicit attr_list id to the heading, matching the pattern already used elsewhere in the docs (e.g. ## 五、推理引擎 {#五推理引擎} in layout_detection.md):

-## 配置环境变量
+## 配置环境变量 {#配置环境变量}

The default mkdocs toc slugifier strips Chinese characters, so the
heading `## 配置环境变量` does not produce the anchor `#配置环境变量`
that is referenced later in the same file. This makes the anchor-link
CI check fail in strict mode.

Add an explicit attr_list id to the heading, matching the pattern
already used elsewhere in the docs (e.g. `{#五推理引擎}`).

Signed-off-by: Bvicii <yizhanhuang2002@gmail.com>
@scyyh11
Copy link
Copy Markdown
Author

scyyh11 commented Apr 21, 2026

Closing; redirecting to upstream PaddlePaddle/PaddleOCR main per mentor's direction.

@scyyh11 scyyh11 closed this Apr 21, 2026
@scyyh11 scyyh11 deleted the fix/skills-zh-anchor branch April 21, 2026 06:16
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