feat(header): enable Chinese Lake docs entry - #735
Conversation
|
@qiancai is attempting to deploy a commit to the pingcap Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe header enables TiDB Cloud Lake navigation for Chinese and generates a dedicated automatic translation URL for TiDB Cloud Lake pages. ChangesTiDB Cloud Lake header behavior
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to The Chinese navigation and Lake translation link changes match the intended routing behavior and are ready to merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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. A rabbit checks the header bright Comment |
What
/zh/tidbcloudlake/Why
This change supports the Chinese translation of the TiDB Cloud Lake documentation introduced by pingcap/docs#23843. It should take effect after that documentation PR is merged.
Tests
pnpm exec prettier --check src/components/Layout/Header/HeaderNavConfigData.tsx src/components/Layout/Header/index.tsxpnpm exec jest gatsby/__tests__/toc-namespace.test.ts gatsby/url-resolver/__tests__/url-resolver.test.ts gatsby/link-resolver/__tests__/link-resolver.test.ts --runInBand --coverage=false(203 tests passed)Summary by CodeRabbit