Skip to content

docs: serve the organization summary from GitHub Pages - #902

Merged
ss-o merged 1 commit into
mainfrom
code/metrics-summary-pages
Aug 30, 2026
Merged

docs: serve the organization summary from GitHub Pages#902
ss-o merged 1 commit into
mainfrom
code/metrics-summary-pages

Conversation

@ss-o

@ss-o ss-o commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

Point the ## Summary images on the docs landing page at GitHub Pages instead
of raw.githubusercontent.com.

Until today these images rendered placeholder data (NaN members, 0 Stargazers)
because of a token defect in the workflow that generates them. That is fixed in
z-shell/.github#578, and the same PR reworked GitHub Pages to publish the metrics
SVGs as a curated asset set rather than serving the whole repository.

raw.githubusercontent.com serves with a short cache lifetime and no cache
busting, so the figures shown on the wiki could lag behind the branch content.
The Pages origin is the intended public location for these assets.

Verification

Both new URLs return 200 and carry current figures:

200  https://z-shell.github.io/.github/metrics/plugin/metrics.svg
     -> "Z-Shell ... 4 members ... Verified"
200  https://z-shell.github.io/.github/metrics/plugin/repositories_metrics.svg
     -> "93 Repositories, 48 Releases, 1574 Stargazers, 166 Forkers, 30 Watchers"

Text-only change to two img attributes; formatting and surrounding markup are
untouched.

The summary images were loaded from raw.githubusercontent.com, which
serves with a short cache lifetime and no cache busting, so the rendered
figures could lag behind the branch.

z-shell/.github now publishes these assets to GitHub Pages as a curated
set, so point the summary at the published location instead. Both URLs
were verified to return 200 with current figures before this change.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying zsh with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8a697a7
Status: ✅  Deploy successful!
Preview URL: https://4e19254f.zsh.pages.dev
Branch Preview URL: https://code-metrics-summary-pages.zsh.pages.dev

View logs

@ss-o
ss-o merged commit 0591a4b into main Aug 30, 2026
8 checks passed
@ss-o
ss-o deleted the code/metrics-summary-pages branch August 30, 2026 13:21
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.

1 participant