feature(wzn): add language switcher and complete some Chinese docs#42
Merged
puyuan1996 merged 8 commits intoopendilab:mainfrom Mar 5, 2026
Merged
feature(wzn): add language switcher and complete some Chinese docs#42puyuan1996 merged 8 commits intoopendilab:mainfrom
puyuan1996 merged 8 commits intoopendilab:mainfrom
Conversation
- Initialize Chinese documentation structure with index files for main, quick start, and best practices pages. - Implement a polished, floating language toggle button in the bottom-right corner. - Add a custom SVG language icon and PyTorch-themed styling (accent border and hover effects). - Create dynamic JavaScript to handle intelligent switching between English and Chinese versions of the same page. - Update conf.py to globally include the new localized assets and styles.
- Add Chinese docs for model testing, design philosophy, troubleshooting, and core project architecture. - Standardize all Chinese documentation suffixes from `_cn` to `_zh` to follow standard locale naming.
puyuan1996
requested changes
Feb 10, 2026
puyuan1996
reviewed
Feb 10, 2026
PaParaZz1
requested changes
Feb 22, 2026
PaParaZz1
approved these changes
Mar 4, 2026
puyuan1996
requested changes
Mar 4, 2026
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
Add language switcher for en & zh in LightRFT docs and complete Chinese documentation for model testing, design philosophy, troubleshooting, and core project architecture.
Purpose:
Type of Change:
🔗 Related Issues
None
📝 Changes
What changed:
Why these changes:
Key implementation details:
🧪 Testing
Test Plan
Test commands:
# Commands used to test the changesTest Results
Test Output
📊 Performance Impact
📚 Documentation
docs/updated (if applicable)✅ Checklist
Code Quality
make formatandmake fcheck)Compatibility
Testing
Documentation
💭 Additional Notes
🔍 Review Checklist for Maintainers
BEFORE SUBMITTING, PLEASE READ: