ADR-0001: Canonical Markdown and Separated Generation vs. Publishing¶
- Status: Accepted
- Date: 2026-11-27
Context¶
TangoMovementLabs maintains desktop software (TangoPostureOpenCommunity), public websites (tangomovementlabs.com and tangoposture.org), and centralised documentation (Documentation). Historically, documentation existed across multiple repositories (assets/docs/ in desktop repos and apps/tangoposture/docs/ in websites), risking drift and duplicated maintenance.
Decision¶
- Canonical Markdown in
Documentation: All public documentation is authored or generated as GitHub-navigable Markdown inTangoMovementLabs/Documentation(docs/), alongside validated structured knowledge (knowledge/) and generation manifests (manifests/). - HTML as Publishing Output Only: Static HTML sites (
dist/user/,dist/technical/,dist/complete/) are generated deterministically by MkDocs from the canonical Markdown and excluded from Git history. - Decoupled Generation & Publishing:
docgen runscans, analyses, generates, validates, and builds documentation locally or in a PR without publishing externally.docgen publishis an explicit separate step that targets thedevelopbranch ofTangoMovementLabs/websitesvia a reviewable pull request (never pushing directly tomain).
Consequences¶
- Documentation can be regenerated and reviewed independently of software releases.
- Users browsing GitHub see complete, self-contained Markdown navigation with relative links and Mermaid diagrams.
- The website receives only validated, audience-appropriate HTML artifacts without maintaining a second documentation source.