feat(fern): adopt global-theme nvidia, remove per-repo theme assets#1320
Conversation
Switch from per-repo custom theme to Fern's shared global-theme: nvidia. Deletes SVG assets, CustomFooter, BadgeLinks, main.css, and all layout/colors/logo/js/css config from docs.yml. Bumps Fern CLI from 4.42.1 to 5.30.2 (required for global-theme support). Follows the pattern established in topograph PR NVIDIA#339. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (5)
💤 Files with no reviewable changes (3)
📝 WalkthroughWalkthroughThis PR upgrades the Fern documentation generator from v4.42.1 to v5.30.2 and adopts NVIDIA's built-in theme. Custom React components (BadgeLinks, CustomFooter) and the entire custom CSS stylesheet are removed, replacing them with the new version's theme infrastructure and built-in styling. ChangesFern Version Upgrade and Theme Migration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Comment |
Summary
Switch from per-repo custom theme to Fern's shared
global-theme: nvidia. Net deletion: 8 files touched, 6 deleted entirely (-1126 lines).Follows the pattern established in topograph PR #339.
Deleted (now provided by the global theme):
fern/assets/NVIDIA_dark.svg,NVIDIA_light.svg,NVIDIA_symbol.svgfern/components/CustomFooter.tsx,BadgeLinks.tsxfern/main.cssRemoved from
docs.yml(replaced byglobal-theme: nvidia):footer:,layout:,colors:,theme:,logo:image paths,favicon:,js:,css:,experimental:blocksKept:
logo.href+logo.right-text,navbar-links, redirectsFern CLI: bumped from
4.42.1to5.30.2(required forglobal-themesupport)Validated with
fern checkand localfern docs devpreview.Type of Change
Component(s) Affected
Testing
Checklist
Summary by CodeRabbit
Refactor
Chores