Add an optional `chassis_u` field for shelf-mounted devices (their height in U where they stand on the shelf) and render it: - gen_rack draws each tower chassis_u U's tall, rising above the 1U shelf line; rail-mounted devices now paint on top so a PDU within a tower's span (e.g. pdu03 over srv05/06) stays visible - occupancy table shows each tower's real U-span (e.g. srv01 U37-U46) - validate_item checks chassis_u is a positive integer; absent chassis_u renders byte-identically to before - set chassis_u for srv01-07 (10/8/6/6/7/7/6U); document the field in the editing guide; regenerate rack01 artifacts Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| gen_overview.py | ||
| gen_rack.py | ||
| mkdocs_hooks.py | ||
| overview_config.yml | ||
| README.md | ||
scripts/
Build helpers for the documentation site.
gen_overview.py— generates a category index table from per-item YAML frontmatter (currently used fordocs/hardware/index.md). Configured byoverview_config.yml. Run viamake docs-index; CI drift-checks it viamake docs-check.mkdocs_hooks.py— MkDocs build hook that renders a Specs table on each hardware host page from its frontmatter, sharingfmt_*helpers withgen_overview.pyso the host page and the index row stay in sync.overview_config.yml— schema (required fields, enums) and table layout forgen_overview.py.