Repository navigation
docs(readme): consistent badge row - #11
Merged
Merged
Conversation
Use the shared six-badge row (npm version, monthly downloads, CI, license, Strapi peer floor, docs site) with absolute URLs, and show the same row in the Pages hero. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fails when the badge row is missing or out of order, a badge or link is relative, the Strapi badge differs from the @strapi/strapi peer floor, or the npm badges name another package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Applies the shared badge row (Auto UUID pattern) to the top of the README and to the Pages hero.
Order: npm version, monthly downloads, CI (GitHub logo, runs on
main), License (from package.json, absolute LICENSE URL), Strapi peer floor (absolute link to the compatibility section), docs project site. Every image is a flat shields.io badge with descriptive alt text and every link is absolute, so the row works on npmjs.com and the Strapi marketplace..shieldsrow above the existing facts row (facts unchanged). Measured at 320/390/1024/1440 px, light and dark: 0 px document overflow, 6/6 images loaded.tests/readme-badges.test.cjs: fails when the row is missing or reordered, a badge is relative, the Strapi floor differs from the@strapi/strapipeer floor, the npm badges name another package, the CI workflow does not run onmain, or the Pages row differs from the README.Docs and test only:
docs:andtest:commits, no release.Before
After
Checks:
npm run lint,npm run format:check,npm testpass locally. Every badge image returns 200image/svg+xml; every link resolves (npmjs.com answers 403 to curl, so the package was confirmed through registry.npmjs.org).🤖 Generated with Claude Code