Skip to content

Fix broken links/badges, typos, and sync README_zh with English#21

Merged
pengqun merged 2 commits into
mainfrom
claude/nifty-turing-yqu8xj
Jun 20, 2026
Merged

Fix broken links/badges, typos, and sync README_zh with English#21
pengqun merged 2 commits into
mainfrom
claude/nifty-turing-yqu8xj

Conversation

@pengqun

@pengqun pengqun commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Overview

A whole-repository quality pass: fixes reader-visible broken links/badges and typos, hardens the badge-generation script, and brings README_zh.md to parity with README.md.

Fixes (commit 1)

Broken links / badges

  • README_zh.md: Lint badge pointed at a non-existent workflow (action.yml) → now lint.yml (+ ?branch=main)
  • README.md: docToolchain link/badge doctoolchainbdoctoolchain (was a double 404)
  • README.md/README_zh.md: drop .git suffix from Beautiful Docs URL/badge (badge was 404)
  • README.md: strip ?query/#fragment from the Petstore Kafka star badge
  • CONTRIBUTING.md: fix malformed pre-commit link (missing )) and grammar

Typos

  • LeanLearn (×2), CconvertsConverts, A a/A aA

Script hardening — scripts/add_stars.py

  • Strip trailing .git and any ?query/#fragment from the repo name before building badges (the root cause of the broken badges above)
  • Remove leftover scratch comments

README_zh sync (commit 2)

  • Add NRG (README section) and Sourcey (Site Builder) to match README.md
  • Run the hardened add_stars.py over README_zh.md to add star badges across all sections (previously only in Site Builder), reaching parity with README.md (118 badges each)

Verification

  • add_stars.py is idempotent on already-badged content ("No changes needed")
  • No malformed (.git/?/#) or duplicated badges in the result
  • Tricky URLs (petstore-kafka?..., beautiful-docs.git) produce clean badges

Not included (low impact, can follow up)

  • ZH table-of-contents ordering vs. body for DocOps
  • ZH-only extra reStructuredText entry under Sphinx

🤖 Generated with Claude Code

https://claude.ai/code/session_016vt1NUzDAEMZX3KL2UoaZd


Generated by Claude Code

claude added 2 commits June 20, 2026 00:20
- README_zh: point Lint badge at the real workflow (lint.yml, not action.yml)
- README: fix docToolchain link/badge (doctoolchainb -> doctoolchain)
- README/README_zh: drop .git suffix from Beautiful Docs URL/badge
- README: strip query/fragment from Petstore Kafka star badge
- README: fix typos (Lean->Learn, Cconverts->Converts, "A a"->"A")
- CONTRIBUTING: fix malformed pre-commit link and grammar
- add_stars.py: strip .git/?query/#fragment from repo name before
  building badges; remove leftover scratch comments

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016vt1NUzDAEMZX3KL2UoaZd
- Add NRG (README section) and Sourcey (Site Builder) to match README.md
- Run hardened add_stars.py over README_zh.md to add GitHub star badges
  across all sections (previously only present in Site Builder),
  reaching parity with README.md (118 badges each)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016vt1NUzDAEMZX3KL2UoaZd
@pengqun pengqun merged commit b6ee4ae into main Jun 20, 2026
1 check 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