fix(i18n): point edit links at localized docs#607
Conversation
Signed-off-by: spencercjh <jiahao.cai@dynamia.ai>
✅ Deploy Preview for project-hami ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughDocusaurus now centralizes GitHub edit URL construction and uses version-aware paths for both documentation and tutorial edit links. ChangesDocumentation edit URL generation
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested labels: Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/assign rootsongjc |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: spencercjh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/assign mesutoezdil |
Most of this Pull Request was generated or revised with the assistance of AI tools, including Codex and Raft(Slock). I have reviewed the resulting content and take full responsibility for its accuracy, security, licensing compliance, and inclusion in this project.
Summary
versionDocsDirPathinstead of hardcoded English-only source rootsVerification
i18n/zh/docusaurus-plugin-content-docs/current/...i18n/zh/docusaurus-plugin-content-docs/version-v2.8.0/...i18n/zh/docusaurus-plugin-content-docs-tutorials/current/...prettier --check docusaurus.config.jsNotes
npm run build -- --locale zhstill hits pre-existing broken links unrelated to this changeSummary by CodeRabbit