Skip to content

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

  1. Canonical Markdown in Documentation: All public documentation is authored or generated as GitHub-navigable Markdown in TangoMovementLabs/Documentation (docs/), alongside validated structured knowledge (knowledge/) and generation manifests (manifests/).
  2. 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.
  3. Decoupled Generation & Publishing: docgen run scans, analyses, generates, validates, and builds documentation locally or in a PR without publishing externally. docgen publish is an explicit separate step that targets the develop branch of TangoMovementLabs/websites via a reviewable pull request (never pushing directly to main).

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.