Skip to content

Docs: sync widget previews and add an accessibility page - #11

Merged
SandObserver merged 1 commit into
mainfrom
docs/sync-accessibility-release
Aug 23, 2026
Merged

SandObserver merged 1 commit into
mainfrom
docs/sync-accessibility-release

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Refresh public/widgets/ and public/js/ from the application repository at 169a6d8. 53 files, covering books, clock, system summary, weather, DNS, Now Playing, GitHub, connections, disk health, dashboard switch and their translations, plus ui/js.
  • Replace the label key with filters in public/api/widget-data/gh-github-prs and gh-github-prs-md. The pull requests widget names its filters from its own catalog now, so the old key left the preview rendering from the widget's fallback instead of from the stub.
  • Add src/pages/docs/accessibility.astro, generated from ACCESSIBILITY.md in the application repository at build time, the same bridge pattern as the development and changelog pages.
  • Add the page to the genpage rule in scripts/check-dist.mjs, so a build without the application checkout cannot ship the fallback.
  • Link the page from the docs sidebar after Security, and from the landing page footer.

Testing
npm run build and npm run check both pass, 33 pages. Verified every widget page and the landing page in Chrome, in both colour schemes and both docs themes: no console errors, every preview renders, and the pull requests preview now reads its count and filter name from the stub. Confirmed the new genpage rule fails the build when ACCESSIBILITY.md is unreadable.

Checklist

  • npm run build and npm run check both pass.
  • Product UI is shown by running or capturing it, never recreated in CSS.
  • Any new preview or screenshot carries no private hostnames or real data.
  • Visual changes verified in both colour schemes and both docs themes.
  • Links to the app repo still resolve.

Refresh public/widgets/ and public/js/ from the application repository.

Replace the GitHub pull request stubs' "label" key with "filters", matching
the field the widget now reads.

Add /docs/accessibility/, generated from ACCESSIBILITY.md in the application
repository at build time. Gate it in scripts/check-dist.mjs alongside the
development and changelog pages, and link it from the sidebar and the landing
footer.
@SandObserver SandObserver added content Documentation content: wording, structure, new pages widget-preview Live widget previews and their stub data labels Aug 23, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying stackyard-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 99acb19
Status: ✅  Deploy successful!
Preview URL: https://ccd22665.stackyard-docs.pages.dev
Branch Preview URL: https://docs-sync-accessibility-rele.stackyard-docs.pages.dev

View logs

@SandObserver
SandObserver merged commit deb84dc into main Aug 23, 2026
2 checks passed
@SandObserver
SandObserver deleted the docs/sync-accessibility-release branch August 23, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content Documentation content: wording, structure, new pages widget-preview Live widget previews and their stub data

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant