feat: add bilingual project website and GitHub Pages deployment - #674
Merged
Merged
Conversation
Add localized homepage and getting-started content, shared Hugo layouts, accessible interactions, and self-hosted visual assets. Use native build-time internationalization with independent language URLs and strict translation, routing, and SVG escaping checks. Configure guarded GitHub Pages deployment and document the website maintenance workflow. Signed-off-by: chlins <[email protected]>
chlins
force-pushed
the
feat/project-website
branch
from
September 29, 2026 06:25
ff7a59a to
74289ce
Compare
chlins
enabled auto-merge (squash)
September 29, 2026 08:15
gaius-qi
disabled auto-merge
September 29, 2026 13:24
gaius-qi
enabled auto-merge (squash)
September 29, 2026 13:24
gaius-qi
disabled auto-merge
September 29, 2026 13:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
Language URLs
Language is determined by URL, not browser storage or a runtime DOM translation script. The previous prototype ?lang=zh parameter is replaced by /zh/.
Deployment
GitHub Pages is configured with GitHub Actions as its source, HTTPS enforced, and the github-pages environment restricted to main.
"All changes are squashed into one signed-off commit, and the DCO check passes. This PR still needs the required two approvals." After merge, the Website workflow will publish automatically. No custom domain, additional token, or gh-pages branch is needed. The public site is not deployed yet.