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/:
mkdocs/user.yml->dist/user/: Built from an isolated staged directory containing only user-facing Markdown and user assets sodist/user/search/search_index.jsonand generated HTML contain zero technical-only pages or developer references.mkdocs/technical.yml->dist/technical/: Built from an isolated staged directory containing technical docs, metric specs, API references, and ADRs.mkdocs/complete.yml->dist/complete/: Built directly fromdocs/combining Home, Shared, ADRs, User, and Technical sections fordocs.tangomovementlabs.com.
Consequences¶
tangoposture.orgcan embeddist/user/cleanly while remaining compliant withwebsites/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/.