Skip to content

docs(zh-cn): fix broken anchor links in Chinese documentation#2072

Merged
alexeyv merged 3 commits intobmad-code-org:mainfrom
eatse21:fix/docs-zh-cn-anchors
Mar 20, 2026
Merged

docs(zh-cn): fix broken anchor links in Chinese documentation#2072
alexeyv merged 3 commits intobmad-code-org:mainfrom
eatse21:fix/docs-zh-cn-anchors

Conversation

@eatse21
Copy link
Copy Markdown
Contributor

@eatse21 eatse21 commented Mar 20, 2026

Summary

Corrects internal anchor links in the Chinese (zh-cn) FAQ documentation to reference Chinese headings instead of English ones, ensuring proper navigation within the document.

Changes

Updated 4 anchor links in docs/zh-cn/explanation/established-projects-faq.md:

Why

The FAQ section in the Chinese documentation had anchor links pointing to English slugs, which don't match the actual Chinese heading IDs. This caused the table of contents links to be unusable.

Testing

Verified anchor links now direct to the corresponding heading when clicking

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 20, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: da2258b2-169a-4b69-8a34-04db1f4b5a26

📥 Commits

Reviewing files that changed from the base of the PR and between a092209 and 82261a3.

📒 Files selected for processing (1)
  • docs/zh-cn/explanation/established-projects-faq.md

📝 Walkthrough

Walkthrough

This pull request updates internal Markdown anchor links in a Chinese FAQ documentation file. The changes replace English-based fragment identifiers with new anchors derived from Chinese section titles while maintaining the same referenced content.

Changes

Cohort / File(s) Summary
Documentation anchors
docs/zh-cn/explanation/established-projects-faq.md
Updated four Markdown fragment identifiers in the "问题" section from English-based anchors to new anchors derived from Chinese headings, ensuring internal links reference correct sections.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • PR #1822: Previously added and reorganized the Chinese documentation content (docs/zh-cn/) and adjusted internal links for those files, providing context for these anchor updates.

Suggested reviewers

  • bmadcode
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: fixing broken anchor links in Chinese documentation by updating references from English to Chinese heading IDs.
Description check ✅ Passed The description is directly related to the changeset, explaining what was changed (4 anchor links), why (links pointed to English slugs that don't match Chinese heading IDs), and how it was tested (verified by clicking links).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use your project's `biome` configuration to improve the quality of JS/TS/CSS/JSON code reviews.

Add a configuration file to your project to customize how CodeRabbit runs biome.

@alexeyv alexeyv merged commit 3ca957e into bmad-code-org:main Mar 20, 2026
5 checks passed
@eatse21 eatse21 deleted the fix/docs-zh-cn-anchors branch March 20, 2026 19:21
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.

2 participants