docs: adopt canonical NVIDIA Fern global theme#713
Conversation
Switch the Data Designer docs site to the centrally-maintained NVIDIA Fern global theme (https://github.com/NVIDIA/fern-components) via `global-theme: nvidia`, so logo, favicon, colors, fonts, footer, base CSS/JS, and layout are inherited instead of duplicated here. - docs.yml: add `global-theme: nvidia`; drop the now theme-owned `footer`, `layout`, `colors`, `theme`, `favicon`, Adobe/OneTrust `js`, and logo SVG/height. Keep a partial `logo:` override (href + `right-text: NeMo Data Designer`, since the theme defaults to "Documentation"), the GitHub navbar link, DataDesigner product CSS, and the custom MDX components. - Remove orphaned local branding now provided by the theme: NVIDIA_{dark,light,symbol}.svg and components/CustomFooter.tsx. - fern.config.json: bump CLI pin to 5.41.1 (global-theme support; matches sibling NeMo docs repos). - README: document the global theme and where to change branding. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Lawrence Lane <llane@nvidia.com>
Greptile SummaryThis PR adopts the centrally-maintained
|
| Filename | Overview |
|---|---|
| fern/docs.yml | Adopts global-theme: nvidia, drops theme-owned footer/layout/colors/CSS/JS/favicon/logo assets, keeps DataDesigner-specific logo override and navbar GitHub link. |
| fern/fern.config.json | Bumps the Fern CLI pin from 5.24.0 to 5.41.1 to enable global-theme support. |
| fern/components/CustomFooter.tsx | Deleted — footer is now owned by the global theme; no remaining references in the codebase. |
| fern/assets/NVIDIA_dark.svg | Deleted — logo SVGs are now provided by the global theme. |
| fern/README.md | Documents the global theme adoption, updates the directory tree, and directs shared branding changes to fern-components. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[fern/docs.yml] -->|global-theme: nvidia| B[NVIDIA Fern Global Theme fern-components repo]
B -->|provides| C[Logo SVGs and favicon]
B -->|provides| D[Colors, fonts, layout]
B -->|provides| E[Footer]
B -->|provides| F[Adobe/OneTrust JS]
A -->|overrides only| G[logo.href + right-text: NeMo Data Designer]
A -->|keeps| H[GitHub navbar link]
A -->|keeps| I[DataDesigner CSS]
A -->|keeps| J[MDX components]
Reviews (1): Last reviewed commit: "docs: adopt canonical NVIDIA Fern global..." | Re-trigger Greptile
|
MkDocs preview: https://928de016.dd-docs-preview.pages.dev Fern preview: https://nvidia-preview-pr-713.docs.buildwithfern.com/nemo/datadesigner
|
Code Review: PR #713 —
|
Reverts #713. Under global-theme: nvidia, Fern treats `css` as a theme-owned field and replaces the child repo's `css:` list at publish, so DataDesigner's product stylesheets (blog-card, authors, notebook-viewer, metrics-table, trajectory-viewer, main) stopped loading and the dev-notes layouts collapsed to unstyled HTML. Temporary hotfix: restore the self-hosted theme + product CSS so the dev-notes render correctly. Re-land the canonical theme later once the product CSS is injected via components or merged into the theme repo. Signed-off-by: Lawrence Lane <llane@nvidia.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
What
Switches the Data Designer Fern docs site to the centrally-maintained NVIDIA Fern global theme (NVIDIA/fern-components) via
global-theme: nvidia, instead of carrying its own copies of the NVIDIA branding.With the global theme, the logo, favicon, colors, fonts, footer, base CSS/JS, layout, and theme settings are inherited from one source of truth and stay consistent with the other NeMo docs sites (Curator, Gym, etc.).
Changes
fern/docs.ymlglobal-theme: nvidia.footer,layout,colors,theme,favicon, the Adobe/OneTrustjsentry, and the logodark/light/height.logo:override — justhref+right-text: NeMo Data Designer(the theme defaultsright-textto "Documentation"). Mirrors the Curator/Gym pattern.navbar-links) — the theme does not provide one.main.css,styles/*.css) and the custom MDX components (experimental.mdx-components), plus child-ownedinstances/title/versions/redirects.assets/NVIDIA_{dark,light,symbol}.svgandcomponents/CustomFooter.tsx.fern/fern.config.json: bump the Fern CLI pin5.24.0 → 5.41.1forglobal-themesupport (siblings using the theme pin ≥5.29).fern/README.md: document the global theme and point branding changes to the fern-components repo.Validation
fern check→ 0 errors (135 warnings are the pre-existing broken-link false positives).fern docs devrenders HTTP 200 with the GitHub link, footer,right-text, and product/component styling intact.Reviewer note
fern docs devonly previews this repo's owndocs.yml— the global theme is fetched and merged server-side at publish. Please confirm on the Fern PR preview deploy that the NVIDIA logo/fonts/footer, the GitHub top-bar link, and product styling all render as expected before merging.🤖 Generated with Claude Code