Skip to content

docs(site): Peekaboo-inspired docs at docs/site/#13

Merged
Sanjays2402 merged 1 commit into
mainfrom
docs-site
May 10, 2026
Merged

docs(site): Peekaboo-inspired docs at docs/site/#13
Sanjays2402 merged 1 commit into
mainfrom
docs-site

Conversation

@Sanjays2402

Copy link
Copy Markdown
Owner

Static docs site under docs/site/, generated by a small Python script (no Jekyll, no Astro, no node_modules). Inspired by peekaboo.sh — same shell (sidebar + content + right-rail TOC), same type pairing (Fraunces + Inter + JetBrains Mono), Optune palette (macOS system blue + deep purple secondary).

What's in it

Layout

  • docs/site/build.py — Markdown → HTML, ~360 lines, stdlib only
  • docs/site/_template.html — shared shell
  • docs/site/_assets/style.css — full design system, light + dark themes
  • docs/site/_assets/site.js — theme toggle, copy buttons, TOC scroll-spy, sidebar filter
  • docs/site/pages/*.md — 20 content pages
  • docs/site/dist/ — generator output (gitignored)

Pages

  • Start — Overview, Install, Quickstart, Permissions & TCC
  • Features — Battery, Pointer & DPI, Wheel & SmartShift, Buttons, Hosts, Onboard, Keyboard, Per-app profiles
  • Reference — CLI, Architecture, Adding a device, Building, Troubleshooting, HID++ primer
  • About — Roadmap, Acknowledgements

Deploy

.github/workflows/docs.yml runs build.py on every push to main that touches docs/site/** and publishes docs/site/dist via GitHub Pages. After this PR merges, enable Pages in repo Settings → Pages → Source: GitHub Actions and the site will go live.

Local preview

cd docs/site
python3 build.py
python3 -m http.server -d dist 8765
open http://localhost:8765

Next

Screenshots — none in this PR per request. Follow-up pass once we have v0.7 UI captures.

Static docs site under docs/site/, generated by a small Python script
(no Jekyll, no Astro, no node_modules). Inspired by peekaboo.sh — same
shell (sidebar + content + right-rail TOC), same typography (Fraunces +
Inter + JetBrains Mono), Optune palette (macOS system blue accent +
deep purple secondary).

Layout
- docs/site/build.py             — markdown -> HTML generator
- docs/site/_template.html       — shared shell
- docs/site/_assets/style.css    — full design system, light/dark themes
- docs/site/_assets/site.js      — theme toggle, copy buttons, TOC scroll-spy
- docs/site/pages/*.md           — 20 content pages
- docs/site/dist/                — generator output (gitignored)

Pages
- Start: Overview, Install, Quickstart, Permissions & TCC
- Features: Battery, Pointer & DPI, Wheel & SmartShift, Buttons,
  Hosts, Onboard, Keyboard, Per-app profiles
- Reference: CLI, Architecture, Adding a device, Building, Troubleshooting,
  HID++ primer
- About: Roadmap, Acknowledgements

Deploy
- .github/workflows/docs.yml runs build.py on every push to main and
  publishes docs/site/dist via GitHub Pages.

No content screenshots yet — that's a follow-up pass.
@Sanjays2402 Sanjays2402 merged commit 7d5feb9 into main May 10, 2026
1 check passed
@Sanjays2402 Sanjays2402 deleted the docs-site branch May 10, 2026 00:59
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