chore(docs): remove i18n and the five translated locales
Merged
WA
2mo ago+241+241+012345678901234567890123456789-303406-303406-012345678901234567890123456789012345678901234567890123456789
Summary
- Deleted the
es,fr,de,ja, andzhdocs content trees (995 files) and flattenedcontent/docs/en/**up tocontent/docs/** - Removed the fumadocs i18n layer:
lib/i18n.ts,i18n.json,i18n.lock, thei18n.cachegitignore entry,createI18nMiddlewareinproxy.ts, and thei18noption on the source loader - Collapsed
app/[lang]/**intoapp/**, merging the locale layout's html/body shell into the root layout. The OpenAPI virtual pages moved offbaseDir: 'en/api-reference/(generated)'— thatensegment was the locale the dir parser consumed - Stripped locale branching from the sitemap,
llms.txt,llms-full.txt, thellms.mdxroute, the sidebar's active-path matching, structured data, and the hreflang /alternateLocalemetadata - Simplified the docs search route to English-only: one
englishtext-search config, unconditional vector search, and no locale-prefix filtering ofsourceDocument. That filter was already inert —sourceDocumentis relative to the chunker'sdocsPath, so it has always been an unprefixed section path (workflows/blocks/agent.mdx), and it stays byte-identical here because the pages and thedocsPathdefault moved down the same level together - Repointed every script, test, and the CI path filter at
content/docs, and de-looped the API-reference sidebar checks over the six locales - The execution-guide wire-shape test only covered the removed locales, so it is retargeted at the English guides (verified they already satisfy every assertion) rather than dropped
Type of Change
- Chore / maintenance
Testing
bun run check:audits— 39/39 passapps/docsbuild — succeeds, 666 paths prerendered, no locale prefixesapps/docsvitest, the OpenAPI suite (143 tests), and the netsuite docs-path test all passbun run lint,check-block-registry, andapps/docstype-check clean- Generators re-run and in sync:
docs-manifest,agent-stream-docs,generate:cli-docs,docs:check,check:openapi
Checklist
- Code follows project style guidelines
- Self-reviewed my changes
- Tests added/updated and passing
- No new warnings introduced
- I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)