Files
hardware/mkdocs.yml
T
NeoandClaude dc1c24e3f4 Add the site, with a protocol reference made from the headers (#10)
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.


Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-05 18:01:00 -08:00

44 lines
1.6 KiB
YAML

INHERIT: .site/mkdocs-base.yml
# The hardware's site, https://d-modem.github.io/hardware/: docs/, the README
# and the pages site_include lists, with brand's shared theme and workflow
# (brand's docs/sites.md). docs/protocol-reference.md is made from the
# protocol headers (python3 firmware/tools/protocol_ref.py).
site_name: D-Modem hardware
site_description: pico-serial, the D-Modem suite's RS-232 adapters and phone-line sticks
site_url: https://d-modem.github.io/hardware/
repo_url: https://github.com/D-Modem/hardware
repo_name: D-Modem/hardware
docs_dir: .site/docs
extra:
repo: hardware
site_include:
- SPEC*.md
- LICENSING.md
- firmware/*.md
- hardware/README.md
- hardware/enclosure/**/*.md
- hardware/netlist/*.md
nav:
- Home: index.md
- Specs:
- pico-serial: SPEC.md
- pico-serial W: SPEC-W.md
- pico-serial Line: SPEC-L.md
- pico-serial WB: SPEC-WB.md
- Firmware:
- Firmware: firmware/README.md
- Control protocol: firmware/PROTOCOL.md
- Protocol reference: protocol-reference.md
- Hardware:
- Board: hardware/README.md
- Enclosures: hardware/enclosure/README.md
- Placement (DB25): hardware/enclosure/out/placement.md
- Placement (Line): hardware/enclosure/out-line/placement.md
- Placement (WB): hardware/enclosure/out-wb/placement.md
- Net list (DB25): hardware/netlist/NETLIST.md
- Net list (W): hardware/netlist/NETLIST-w.md
- Net list (Line): hardware/netlist/NETLIST-line.md
- Net list (WB): hardware/netlist/NETLIST-wb.md
- Licensing: LICENSING.md
- Documentation index: README.md