Skip to content

fix(docs): link the active language badge to its own README - #76

Merged
zimuwang-real merged 1 commit into
simple-agent-lab:mainfrom
jingjingzhang1:fix/lang-switcher-self-link
Sep 5, 2026
Merged

fix(docs): link the active language badge to its own README#76
zimuwang-real merged 1 commit into
simple-agent-lab:mainfrom
jingjingzhang1:fix/lang-switcher-self-link

Conversation

@jingjingzhang1

@jingjingzhang1 jingjingzhang1 commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

GitHub wraps any README image that is not already inside a link with a link to the image file itself. The current-language badge was a bare , so clicking it navigated to the badge SVG on camo instead of staying on the page. Linking it to its own file keeps GitHub from auto-linking it.

Summary by CodeRabbit

  • Documentation
    • Updated the README language-switcher badges so both English and Simplified Chinese badges link to their respective documentation pages.

GitHub wraps any README image that is not already inside a link with a
link to the image file itself. The current-language badge was a bare
<img>, so clicking it navigated to the badge SVG on camo instead of
staying on the page. Linking it to its own file keeps GitHub from
auto-linking it.
@coderabbitai

coderabbitai Bot commented Sep 5, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: fe533864-24eb-4ed5-865a-84375fc35c58

📥 Commits

Reviewing files that changed from the base of the PR and between 4ce1e94 and a2c7800.

📒 Files selected for processing (2)
  • README.md
  • README.zh-CN.md

Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

The language-switcher badges in both README files now link to their corresponding documents.

Changes

Language badge links

Layer / File(s) Summary
Language-switcher badge navigation
README.md, README.zh-CN.md
Both language badges are wrapped in links to their corresponding README files.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to a2c78

The language badges now link to their respective README files as intended, with no remaining merge-readiness risk.

Suggested reviewers: claude

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main documentation change: linking the active language badge to its own README.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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.

@zimuwang-real
zimuwang-real merged commit 20806c7 into simple-agent-lab:main Sep 5, 2026
5 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.

2 participants