-
Notifications
You must be signed in to change notification settings - Fork 5
docs: comprehensive documentation overhaul with i18n support (English & Chinese) #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Workspace change through: a87268d0 changesets found Planned changes to release
|
|
@copilot add i18n support in the docs |
|
@copilot and dont forget implement english(default) and chinese docs for i18n |
Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
- Add development.mdx (开发指南) - Add troubleshooting.mdx (故障排除) - Add features/index.mdx (功能概览) - Add features/authentication.mdx (身份验证) - Add features/java.mdx (Java 管理) - Add features/mod-loaders.mdx (模组加载器) All translations maintain technical terms in English while translating content to simplified Chinese Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
Both English and Chinese documentation are now fully implemented! English (default): All technical terms (Tauri, Rust, Svelte, Fabric, Forge) are preserved in English, while UI elements and descriptions are translated to Chinese. Code blocks remain in English for consistency. The dev server runs successfully with automatic language switching support. See commits 8254559 and fe0cb04.
i18n support has been added to the documentation! The docs now support English (default) and Simplified Chinese (简体中文). Configuration:
Implementation:
See commit fe0cb04 for the final i18n configuration. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot solve it |
Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
Fixed! The build failure was caused by incorrect meta.json structure. In Fumadocs with i18n, subdirectories with their own meta.json should be referenced as simple strings, not nested objects. Changes made (commit 2ff4c75):
Build verification: The Vercel deployment should now succeed. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot change default home page to good looking and launcher ui show case one and the 404 code after click open docs button in the home page |
Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
Fixed both issues! The home page now features a professional design showcasing the DropOut launcher, and the 404 error is resolved. Changes (commit 63707fa):
The new home page includes:
All navigation now works correctly with no 404 errors. The documentation is properly accessible through the i18n routing structure. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request implements comprehensive internationalization (i18n) support for the DropOut Minecraft Launcher documentation, adding both English and Chinese versions. The PR includes a home page redesign with launcher showcase, routing improvements to fix 404 errors, and extensive documentation covering architecture, features, development, and troubleshooting.
Changes:
- Added i18n configuration and comprehensive English/Chinese documentation
- Redesigned home page with launcher showcase and feature highlights
- Fixed routing with /docs redirect and proper i18n paths
- Removed placeholder test files and cleaned up old documentation structure
Reviewed changes
Copilot reviewed 31 out of 32 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| source.config.ts | Enabled i18n support in Fumadocs configuration |
| react-router.config.ts | Simplified configuration by removing prerender logic |
| app/routes/home.tsx | Complete home page redesign with hero section, features grid, and CTA |
| app/routes/docs.tsx | Added redirect from /docs to /docs/en for default language |
| app/routes.ts | Added redirect route before wildcard docs route |
| content/docs/en/* | Comprehensive English documentation (index, getting-started, architecture, features, development, troubleshooting) |
| content/docs/zh/* | Complete Chinese translations of all English documentation |
| content/docs/en/meta.json | Navigation structure for English docs |
| content/docs/zh/meta.json | Navigation structure for Chinese docs |
| content/docs/test.mdx | Removed placeholder test file |
| content/docs/index.mdx | Removed old placeholder index |
| content/docs/meta.json | Removed old meta configuration |
| README.md | Updated with comprehensive documentation about the docs site structure and i18n |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>


Home Page Redesign & Routing Fix - Complete ✅
Changes Made
/docsto/docs/en/docs/enpathsHome Page Features
Hero Section:
Launcher Showcase:
Features Grid:
Why DropOut Section:
CTA Section:
Routing Improvements
/docsroute with redirect to/docs/enVerification
✅ Dev server runs successfully
✅ Production build completes without errors
✅ Home page displays launcher screenshot
✅ All links navigate correctly
✅ No more 404 errors on docs navigation
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.