Skip to content

Docs overhaul: automated screenshots, new theme, new pages - #25

Merged
johnmckenna-snd merged 7 commits into
mainfrom
main.docs-overhaul-screenshots
Aug 20, 2026
Merged

Docs overhaul: automated screenshots, new theme, new pages#25
johnmckenna-snd merged 7 commits into
mainfrom
main.docs-overhaul-screenshots

Conversation

@johnmckenna-snd

Copy link
Copy Markdown
Member

The software docs had drifted from the app — screenshots were hand-captured and stale, and several shipped features had no page at all. This rewrites the sndwrks Local docs against the current app and adds pages for users and permissions, device adoption, e-stop, cloud, assistant, control surfaces, VNC, ATEM SuperSource, plus a show network design guide.

To stop the drift, screenshots are now generated by a Playwright harness (scripts/screenshots/) that drives a live instance from a manifest, so a shot can be re-taken instead of re-staged by hand. All 60+ images are regenerated and renamed to match the manifest; the Python scripts moved to uv dependency groups so the harness and the llms.txt workflow share one lockfile.

Also reworks the site theme — purple accent, Catppuccin code blocks, custom Hero/Footer/Pagination components, and mermaid diagram support styled from the house tokens. npm run build passes, 32 pages.

…Hero/Footer/Pagination components, a rehype-sections plugin, and mermaid diagram support styled from the house tokens.
… workflow and the screenshot harness share one lockfile instead of separate requirements files.
…d regenerates every docs screenshot from a manifest, so shots stop drifting from the app as it changes.
…hand-captured ones, so the naming matches the manifest and the shots match the current app.
…dd pages for the features that had none: users and permissions, device adoption, e-stop, cloud, assistant, control surfaces, VNC, ATEM SuperSource, and a show network design guide.
…n CI, and add a local smoke test plus pre-push hook so broken links get caught before they reach a PR.

The hook body lives in scripts/ so it survives a fresh clone; .git/hooks/pre-push is a shim that execs it.
@johnmckenna-snd
johnmckenna-snd merged commit fd2dd44 into main Aug 20, 2026
1 check passed
@johnmckenna-snd
johnmckenna-snd deleted the main.docs-overhaul-screenshots branch August 20, 2026 05:55
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