Skip to content

Add the site, with a protocol reference made from the headers - #10

Merged
Neo-Desktop merged 1 commit into
mainfrom
claude/project-thread-cwmrpa
Nov 6, 2026
Merged

Neo-Desktop merged 1 commit into
mainfrom
claude/project-thread-cwmrpa

Conversation

@Neo-Desktop

Copy link
Copy Markdown
Collaborator

The hardware's site, https://d-modem.github.io/hardware/, on brand's shared theme and workflow (brand's docs/sites.md).

  • firmware/tools/protocol_ref.py writes docs/protocol-reference.md from protocol.h, line_proto.h and wb_proto.h. The page lists every request, constant and enum, plus each wire struct's fields with their offsets and sizes. Those sizes are checked against the headers' _Static_asserts.
  • Staleness checks: the firmware workflow gains a --check step, and the new Pages workflow runs the same check, so the page can't drift from the headers.
  • mkdocs.yml builds a site from docs/ and the README, plus the specs and the firmware, hardware, enclosure and net list pages. The extra pages come in through brand's new extra.site_include. Board renders load from GitHub.
  • Links: docs/README.md and firmware/PROTOCOL.md link the new page.

Checked locally: zensical build --strict reports no issues, and check_docs.py passes.


Generated by Claude Code

firmware/tools/protocol_ref.py writes docs/protocol-reference.md from
protocol.h, line_proto.h and wb_proto.h: every request, constant and
enum, and each wire struct's fields with their offsets and sizes (checked
against the headers' _Static_asserts). The firmware workflow and the new
Pages workflow fail if the page is out of date.

The site is docs/, the README, the specs and the firmware, hardware,
enclosure and net list pages (extra.site_include), on brand's theme.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
@Neo-Desktop
Neo-Desktop merged commit dc1c24e into main Nov 6, 2026
4 checks passed
@Neo-Desktop
Neo-Desktop deleted the claude/project-thread-cwmrpa branch November 6, 2026 02:01
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.

2 participants