Skip to content

docs: Phase C deep-dives + English-primary bilingual site (en + zh-CN) - #116

Merged
voidvec merged 2 commits into
masterfrom
docs/phase-c-i18n
Aug 27, 2026
Merged

voidvec merged 2 commits into
masterfrom
docs/phase-c-i18n

Conversation

@voidvec

@voidvec voidvec commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Closes governance Phase C (docs/documentation-governance.md v4).

Phase C deep-dives (both languages)

  • token-lifecycle — three token shapes (opaque access/refresh + JWT id_token per ADR-0004), hash-at-rest, refresh family rotation & reuse cascade, revocation surfaces, cache interplay
  • session-management — SSO session vs token lifetimes; drogon#278 retention cost + the sizing table, now its single home (deployment.md keeps an operational pointer only)
  • multi-tenancy — V017 org model + admin API, with an explicit not-yet roadmap (issuer_override stored-not-applied etc.)

English-primary bilingual site

  • docs/ = English canonical (~40 files translated; code byte-identical)
  • Chinese tree verbatim-moved to website/i18n/zh-CN/...
  • navbar locale switcher, editLocalizedFiles, locale-aware chrome, bilingual landing
  • trust archives keep Chinese body in both locales + English note; governance v4 (same-PR dual-write discipline)
  • legacy docs/CNAME removed (Pages = GitHub Actions + website/static/CNAME)

Verification

  • npm run build green for both locales incl. broken-link gates (10 tree-escaping links absolutized)
  • landing/sidebar/footer/search indexes spot-checked per locale

Phase C (governance v4):
- three new deep-dive domain guides, both languages: token-lifecycle
  (opaque tokens, hash-at-rest, refresh family rotation/reuse cascade,
  revocation surfaces, cache interplay), session-management (SSO session
  vs token lifetimes, drogon#278 retention cost + sizing table — now the
  single home; deployment.md keeps an operational pointer), and
  multi-tenancy (V017 org model, admin API, honest not-yet roadmap)
- deployment.md session section de-duplicated against the new guide

English-primary i18n:
- docs/ is now the English canonical (~40 files translated; code blocks
  byte-identical, tables intact, tree-escaping links absolutized to
  GitHub per governance layer-2 rule)
- the Chinese tree moved verbatim (git mv) to
  website/i18n/zh-CN/docusaurus-plugin-content-docs/current/
- site config: defaultLocale en + zh-CN, navbar locale dropdown,
  editLocalizedFiles edit links, locale-aware navbar/footer labels
  (DOCUSAURUS_CURRENT_LOCALE helper), bilingual landing page strings
- three trust archives keep their Chinese body in both locales behind an
  English language-note header; ADRs fully bilingual
- governance doc v4 in both languages: bilingual policy (same-PR dual
  writes), three-layer IA updated, Phase C closed
- removed the legacy docs/CNAME (Pages now deploys via GitHub Actions
  with website/static/CNAME)

Verification: docusaurus build green for BOTH locales (en + zh-CN),
incl. broken-link gates; landing pages, sidebar titles, footers, search
indexes spot-checked per locale.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…pi-reference

ErrorCatalogDocTest compares the published tables byte-for-byte against
ErrorCatalog's registered defaultMessage/defaultErrorDesc — which are
Chinese server-emitted strings. The English translation had translated
those columns, failing the guard on all three platforms. The tables now
quote the catalog verbatim (headers stay English) with a language note
explaining why; guard re-verified locally.
@voidvec
voidvec merged commit 9ccc6ce into master Aug 27, 2026
10 checks passed
wangrh0909 pushed a commit that referenced this pull request Aug 27, 2026
…rite rule in CONTRIBUTING, changelog entry

- README.zh-CN.md: all 25 docs/ links now point at their
  fulla.dev/zh-CN counterparts (Chinese readers no longer land on
  English repo files)
- CONTRIBUTING.md: documentation changes require a same-PR dual write
  (docs/ English canonical + website/i18n/zh-CN/ mirror), per
  governance v4 §4
- CHANGELOG.md: Unreleased entry recording the docs-governance
  conclusion (PR #114/#116) and the bilingual fulla.dev launch
@voidvec
voidvec deleted the docs/phase-c-i18n branch August 29, 2026 14:35
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.

2 participants