Moved Documentation
Permanent redirects preserve existing documentation links when a page moves to a new address, including its child pages and language-prefixed addresses. The docs app keeps these redirects in its own configuration.
Link Harness addresses
The docs app adds redirects in apps/docs/next.config.ts while retaining
the shared configuration. Addresses under /agents/harnesses/link
redirect to /agents/link, with the remaining path and query preserved.
The home app uses the shared configuration without these feature redirects.
Languages
English addresses with /en redirect directly to the canonical address
without that prefix. Other language prefixes remain in the destination,
so an existing localized link continues to select the same language.
Verify a relocation
The docs app tests its actual Next configuration, including nested paths, language prefixes, query strings, unrelated routes and shared headers. Run its routing tests from the web workspace after changing a redirect, then build the sites to validate the configuration.
npm run test --workspace @link-web/docs
npm run build