morningman opened a new pull request, #4490: URL: https://github.com/apache/doris-website/pull/4490
Existing docs state, page allowlists and blog directory detection cannot describe partial translation availability consistently. Add a versioned build-only contract that joins native docs/page/blog identities and routes, separates navigable fallback routes from indexable translations, and binds every decision to the source SHA and input digests. Preserve the existing docs state, hash/ownership decisions, legacy manifest and browser behavior. Register the 21 ordinary page IDs and Slack utility, define independent manual page/blog ledgers, and expose a compact per-page routing payload. Manual decisions explicitly carry `renderIntegrated: false` until the page/blog renderers adopt them in T03/T14; the empty ledgers make no new translation coverage claims. Full blog lifecycle and SEO integration remain separate tasks. Validation: - 237 i18n tests passed; one existing opt-in production-render test skipped. - 22 workflow boundary tests passed; workflow YAML and `git diff --check` passed. - Real native input: 1,680 Dev docs, 21 pages, 206 blog posts and one utility. The full English manifest is 3,020,067 bytes; largest per-page routing payload is 1,063 bytes, with zero added global browser payload. - Sequential real production fixtures passed for all five languages and with Russian disabled, covering zero/one/partial/full manual coverage, native routes, emitted HTML, docs fallback, manual source drift and payload sizes. - Repository typecheck still reports the same 176 diagnostics as the unmodified baseline, with no new diagnostics. The shared contract and manual ledgers select the complete optimized five-language, all-active-version CI build. That CI/publishing validation is pending; this PR does not publish the global language switcher or whole-page fallback. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
