Skip to content

docs: themed figures on every page, lazy doc routes, a11y fixes - #345

Merged
ChristopherPHolder merged 1 commit into
mainfrom
docs/doc-pages-pass
Nov 8, 2026
Merged

ChristopherPHolder merged 1 commit into
mainfrom
docs/doc-pages-pass

Conversation

@ChristopherPHolder

Copy link
Copy Markdown
Collaborator

Summary

The doc pages catch up with the landing page: every remaining raster screenshot is either replaced by a themed figure or framed and captioned, the three reference sections open on a visual overview, and the site gets a performance and accessibility pass.

Figures

  • Report formats (<!-- diagram: report-formats -->): the same run as HTML, JSON, Markdown and stdout, switchable like the install tabs, with Lighthouse-style gauges that fill when they scroll into view. Replaces three GitHub-hosted thumbnails.
  • CI flow and PR comment on the GitHub workflow page: pull request → user-flow collect in CI mode → Markdown report → sticky comment, drawn as a themed SVG that draws itself in, and a mock of the comment the action leaves. Replaces four GitHub-hosted screenshots.
  • Command map on the CLI overview: one entry point, two commands and what each one does.
  • Measurement modes on the basics page: navigation, timespan and snapshot as cards showing which categories each can score.
  • Framed screenshots: a paragraph that is only an image becomes a captioned figure with a frame and shadow, in both themes. The two Lighthouse screenshots that still lived on GitHub's image host are now in public/images, and every screenshot carries its pixel size so the page does not shift while it loads.
  • Call to action (<!-- cta -->) at the end of the introduction and installation pages, with a copyable install command.

Performance and accessibility

  • The doc page route and the search index load the Markdown renderer and highlighter on demand, and the walkthrough highlights its one snippet itself. The landing page's main bundle drops from 519 kB to 401 kB raw.
  • The hero's colour blobs are radial gradients instead of 70px blur filters, and the headline and hero entrances are shorter and no longer fade from transparent, which the largest-contentful-paint measurement was waiting on.
  • Contrast: the primary button keeps the 600 shade under white text in dark mode (4.5:1), terminal comments, the scene notes and the pager's section label are a step darker, and the score chips use a 700/400 pair per theme.
  • Lighthouse against the production build, mobile emulation: accessibility 100 on the landing, reports and basics pages, best practices and SEO 100; performance 73–79 on a throttled simulated connection without compression (GitHub Pages serves gzip, so real numbers are better).
  • Every page checked at 390px and 1280px in both themes: none is wider than its viewport.
  • The hero terminal has a replay button, like the doc terminals.

Recording

Report formats: one run, switched between HTML, JSON, Markdown and stdout Report format switcher

Full-quality MP4

Screenshots

Reports, GitHub workflow, CLI overview and basics (desktop, light) Reports page GitHub workflow page CLI overview page Basics page
Introduction with the call to action, and the recorder guide (phone, dark) Introduction on a phone Recorder exports on a phone

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

❗❗❗ report generated by this PR ❗❗❗

☕ Order Coffee ☕

Date/Time: 2026-11-07 17:55

Step Name Gather Mode Performance Accessibility Best Practices Seo Agentic Browsing
🧭 Navigate to coffee cart navigation 96 93 100 83 50
☕ Select coffee timespan 18/18 - 8/8 - -
✔ Coffee selected snapshot Ø 1/1 16/18 4/4 3/5 1/3
🛒 Checkout order timespan 19/19 - 8/8 - -
🧾 Order checked out snapshot Ø 1/1 19/20 4/4 3/5 1/3
💌 Submit order timespan 18/18 - 8/8 - -
📧 Order submitted snapshot Ø 1/1 20/22 4/4 3/5 1/3
🧭 Navigate to github navigation 93 92 100 83 50

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

☕ Order Coffee ☕

Date/Time: 2026-11-07 17:55

Step Name Gather Mode Performance Accessibility Best Practices Seo Agentic Browsing
🧭 Navigate to coffee cart navigation 94 93 100 83 50
☕ Select coffee timespan 17/17 - 8/8 - -
✔ Coffee selected snapshot Ø 1/1 16/18 4/4 3/5 1/3
🛒 Checkout order timespan 19/19 - 8/8 - -
🧾 Order checked out snapshot Ø 1/1 19/20 4/4 3/5 1/3
💌 Submit order timespan 18/18 - 8/8 - -
📧 Order submitted snapshot Ø 1/1 20/22 4/4 3/5 1/3
🧭 Navigate to github navigation 93 92 100 83 50

@ChristopherPHolder
ChristopherPHolder merged commit f807568 into main Nov 8, 2026
5 checks passed
@ChristopherPHolder
ChristopherPHolder deleted the docs/doc-pages-pass branch November 8, 2026 07:15
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