Skip to content

Support localized source documentation - #1

Merged
mktbsh merged 3 commits into
mainfrom
codex/localized-source-docs
Aug 15, 2026
Merged

Support localized source documentation#1
mktbsh merged 3 commits into
mainfrom
codex/localized-source-docs

Conversation

@mktbsh

@mktbsh mktbsh commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • ingest configured locale sources such as docs/www/ja/** into src/content/docs/{locale}/{project}/**
  • preserve English routes and use Starlight fallback for untranslated pages
  • centralize locale configuration and update the authoring contract, README, ADR, and fixtures

Why

Previously, docs/www/ja/** was copied below the project path and rendered as a normal English project subpath. OSS repositories could not publish translated source documents as site locales.

Validation

  • bun run check
  • fixture build verifies translated /ja/... routes, English fallback, and absence of the old nested route

@mktbsh
mktbsh marked this pull request as ready for review August 15, 2026 09:29
@mktbsh
mktbsh merged commit 0db7b86 into main Aug 15, 2026
1 check passed
@mktbsh
mktbsh deleted the codex/localized-source-docs branch August 15, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant