Repository navigation
Docs: sync widget previews and add an accessibility page - #11
Merged
Merged
Conversation
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.
Deploying stackyard-docs with
|
| 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 |
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.
Summary
public/widgets/andpublic/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, plusui/js.labelkey withfiltersinpublic/api/widget-data/gh-github-prsandgh-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.src/pages/docs/accessibility.astro, generated fromACCESSIBILITY.mdin the application repository at build time, the same bridge pattern as the development and changelog pages.genpagerule inscripts/check-dist.mjs, so a build without the application checkout cannot ship the fallback.Testing
npm run buildandnpm run checkboth 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 newgenpagerule fails the build whenACCESSIBILITY.mdis unreadable.Checklist
npm run buildandnpm run checkboth pass.