Skip to content

docs: readme polish - #98

Merged
hesreallyhim merged 26 commits into
mainfrom
docs/better-readme
Sep 10, 2026
Merged

hesreallyhim merged 26 commits into
mainfrom
docs/better-readme

Conversation

@hesreallyhim

Copy link
Copy Markdown
Member
  • Revise README language and structure
  • Add explanatory graphics

BittuBarnwal7479 and others added 25 commits September 10, 2026 08:49
Show the twelve badges as rendered artifacts served for this repository,
rather than describing them in prose. Columns split on API scope
(repository-level endpoints vs. default-branch rulesets), mirroring the
REST source column in Supported checks. Each badge links to its
details.json record.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Replace the bare Settings UI screenshot with a composite that puts the
admin-only checkbox next to the public PolicyChecks badge that mirrors it
(light and dark variants).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The mermaid diagram described a 'GitHub App installation token' step and
had no branch for authentication failures. The new graphic follows the
code: cache check, GitHub App auth + installation lookup, one REST call
per badge, and every failure branch (not installed, auth rejected, rate
limited, inconclusive) collapsing to unknown. Light and dark variants.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Both images now use large type relative to their width so they stay
readable in the GitHub mobile app. The settings screenshot is sliced at a
word gap and wrapped to two lines; the flowchart is laid out vertically
and embedded at 600px so desktop shows it at natural size.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Bigger edge labels and stacked fallback phrases on the flowchart, larger
eyebrow and connector text on the side-by-side image, padded badge chips,
and the served-as footnote removed from the flowchart.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Move the setting-vs-badge and how-it-works generators out of the private
scratch folder, split shared pieces (themes, Octicons, badge rendering,
rsvg wrapper) into common.py, and document every knob. render-badges.ts
feeds the real badge SVGs to both scripts. Badge chips get extra right
padding to compensate for rsvg ignoring textLength.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-code-quality

github-code-quality Bot commented Sep 10, 2026

Copy link
Copy Markdown

Code Coverage Overview

Languages: JavaScript

JavaScript / code-coverage/vitest

The overall line coverage in commit 6707d04 in the docs/better-readme branch remains at 98%, unchanged from commit 92529b9 in the main branch.


Updated September 10, 2026 16:04 UTC

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
policychecks 6707d04 Commit Preview URL

Branch Preview URL
Sep 10 2026, 04:05 PM

@hesreallyhim
hesreallyhim merged commit 5f5174a into main Sep 10, 2026
7 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