docs: refresh landing terminal demo and apply NVIDIA fern theme#1615
Conversation
- Extract landing-page terminal demo into a reusable <CommandTerminal /> component with inline styles (no global CSS dependency) - Animate a second command line cycling through claude/opencode/codex via @Keyframes scoped inside the component - Inline BadgeLinks layout styles so the component renders correctly without relying on .badge-links from main.css - Add jsx.d.ts shim so editors do not flag the React global in component TSX files - Switch fern instance to global-theme: nvidia with multi-source enabled - Bump fern CLI to 5.40.0 and drop the basepath-aware experimental flag - Register fern/components/ as a second mdx-components directory - Remove the unused Adobe analytics script tag
|
All contributors have signed the DCO ✍️ ✅ |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
@miyoungc - This should be good to go. However, please build this locally to ensure it meets your standards. |
|
@aschilling-nv Thank you, this looks good! One thing I noticed is that I think I remember fixing that in the CSS in the current version by adding some padding. |
This issue has been corrected in the global theme and is viewable here: https://nvidia-preview-ddd91916-5bb0-4c85-bed4-316e3cfdb458.docs.buildwithfern.com/openshell/resources/license |


Summary
Refresh the docs landing page so the terminal demo no longer depends on globally-loaded CSS, switch the Fern instance to the NVIDIA theme, and bump the Fern CLI to a current version.
Related Issue
N/A
Changes
<CommandTerminal />component with inline styles, dropping the dependency onnc-*CSS classes previously sourced fromfern/main.css.claude/opencode/codexusing@keyframesscoped inside the component.BadgeLinkslayout styles so the component renders correctly without.badge-linksfrom global CSS.docs/_components/jsx.d.tsso editors stop flagging the React global in component TSX files.global-theme: nvidiawithmulti-source: true.5.40.0and drop the no-longer-neededbasepath-awareexperimental flag.fern/components/as a secondmdx-componentsdirectory.<script>tag.Testing
mise run license:checkpassesmise run markdown:lint:mdpassesmise run pre-commit—test:rustfails locally due to a missing systemz3.hheader (pre-existing environment issue, no Rust code changed in this PR). Other relevant lint subsets pass.Checklist