revert(badges): switch from custom SVG to standard shields.io (主人偏好)#66
Merged
Conversation
主人偏好确认: 徽标用业界原生 shields.io (img.shields.io), 不用自定义 SVG. Changes: - 删除 10 个自定义 SVG (assets/badges/* + docs/public/badges/*) - 删除 scripts/generate_badges.py - 还原 .gitignore (docs/ + assets/ 整个 ignore) - README.md 改回 shields.io 5 行标准 Markdown 徽标 shields.io 是 GitHub 生态最常用的'原生'徽标方案, 所有顶级 OSS 项目都用 (React, Vue, TensorFlow 等). 自定义 SVG 反而 是偏离惯例. Refs: PR #65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
主人偏好确认
主人在第一轮 clarify 中明确选择 方案 2: Markdown 引用 shields.io (业界原生徽标). 之前 PR #65 我误判为方案 3 (自定义 SVG), 此 PR 撤回该误判.
Why shields.io 是'原生徽标'
shields.io 是 GitHub 生态最常用的徽标方案, 所有顶级 OSS 项目都用:
与 PR #65 (自定义 SVG) 对比
变更
git rm10 个 SVG (assets/badges/.svg + docs/public/badges/.svg)git rmscripts/generate_badges.py (不需要了)验证
rg img.shields.io README.md返回 5 行rg assets/badges返回 0 行ls assets/badges/返回 No such filels scripts/generate_badges.py返回 No such file