# ADR 0001 · Static documentation

**Accepted under D2.** The Ancrel documentation app uses Fumadocs Core for headless navigation and content, fumadocs-mdx for authoring, and the Next.js App Router with `output: 'export'`. Pre-rendered pages and interactive examples share the released React packages. A versioned export serves readers and agents over ordinary HTTP on a local or internal host.

The registry compiler produces Markdown, JSON and discovery files from the same release model. The static host supplies their MIME types. M3 implements the site, and M4 assembles the versioned site under `/v/<release>/`.

## M0 toolchain

| Tool | Version |
| - | - |
| Node.js | 22 LTS (verified with 22.22.0) |
| pnpm | 9.15.0 |
| TypeScript / API Extractor | 5.9.3 / 7.58.0 |
| Turbo / tsup / Lightning CSS | 2.6.1 / 8.5.1 / 1.30.2 |
| Vitest / Playwright | 3.2.4 / 1.56.1 |
| React (development) | 19.1.1 |
| ESLint / Stylelint / dependency-cruiser | 9.39.1 / 16.25.0 / 17.3.1 |

The root manifest pins direct tooling, and the shared pnpm lockfile records resolved dependencies. W3a pins the site dependencies when implementing the app. See RFC-0001 §4.1.
