Skip to content

ADR-0004: Isolated User, Technical, and Complete HTML Builds

  • Status: Accepted
  • Date: 2026-11-27

Context

End users (Argentine Tango dancers and teachers visiting tangoposture.org/docs/community/) need accessible, jargon-free documentation without developer internals or technical search results leaking into their portal. Contributors and researchers need full technical references with Mermaid diagrams, math formulas, and source links, while docs.tangomovementlabs.com serves the complete public portal.

Decision

Configure three separate MkDocs build targets under mkdocs/:

  1. mkdocs/user.yml -> dist/user/: Built from an isolated staged directory containing only user-facing Markdown and user assets so dist/user/search/search_index.json and generated HTML contain zero technical-only pages or developer references.
  2. mkdocs/technical.yml -> dist/technical/: Built from an isolated staged directory containing technical docs, metric specs, API references, and ADRs.
  3. mkdocs/complete.yml -> dist/complete/: Built directly from docs/ combining Home, Shared, ADRs, User, and Technical sections for docs.tangomovementlabs.com.

Consequences

  • tangoposture.org can embed dist/user/ cleanly while remaining compliant with websites/scripts/validate.mjs (zero broken local refs, zero disallowed commercial terms).
  • Automated tests can strictly assert that no technical-only pages appear in dist/user/.