Baseleg Docs

Diagrams

Visual reference diagrams for Baseleg. All diagrams are rendered as inline HTML — no SVG files or external assets required.

Architecture layers
UI → Application → Domain / Infrastructure with dependency rules
Context map
All 8 bounded contexts, the v1 spine, and cross-context relationships
v1 spine — conceptual ER
Member ↔ Booking ↔ Aircraft entities with fields and booking rules
Site map
Full documentation structure — all sections and pages with links

How to update diagrams

All diagrams are inline HTML written directly in Markdown files under docs/ux/diagrams/. To update a diagram:

  1. Edit the HTML in the relevant .md file.
  2. Use the CSS variables from the docs theme (--docs-primary, --docs-secondary, --docs-border, --docs-surface-2) so diagrams stay on-theme automatically.
  3. Verify the build renders correctly: pnpm --filter @baseleg/docs build.

Adding a new diagram type (e.g. a DSL like Mermaid) requires an ADR — rendering must stay stable for GitHub Pages builds.