Repository navigation
Fern docs migration with fidelity fixes - #1045
Merged
Merged
Conversation
Address PR feedback on docs migration: fix ~22 verbose/changed page titles to match originals, remove duplicate headings rendered by Fern frontmatter, restore original nav structure (move benchmark pages into Environment Tutorials, nest Real-World sub-pages), split Quickstart into its own page under Get Started, add custom CTAButtons and NavButton MDX components, and add CI workflows for preview builds and publishing. Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Lawrence Lane <[email protected]>
…ocs (#1067) Replace sphinx-build instructions with Fern workflow, update broken redirect destination, clean up stale _nav_order.yml entries, and remove obsolete Sphinx FAQ section from both doc versions. Signed-off-by: Lawrence Lane <[email protected]> Co-authored-by: Claude Opus 4.6 <[email protected]>
- Replace --- with em dashes in prose (Fern doesn't auto-convert like Sphinx) - Convert plain markdown nav links to NavButton components - Remove Source: validation artifacts from data/index pages - Fix broken Tabs component in download-huggingface pages - Add check rules for broken links and missing redirects - Populate reference index page with Cards for child pages - Add Python API autodocs via Fern libraries config with API Reference tab Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Lawrence Lane <[email protected]>
Fern's acorn parser requires a blank line between import statements and content in MDX files. The v0.2 pages were missing these. Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Lawrence Lane <[email protected]>
Signed-off-by: Lawrence Lane <[email protected]> Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Lawrence Lane <[email protected]>
- Fix stray quote and reword Command Line Usage intro in configuration.mdx - "separate machine than" -> "separate machine from" in vllm.mdx - Rename "Openai Compatible Http Server On Policy Correction" links to "On-Policy Corrections" - Fix "similar to that of" and link text in nemotron-3-super.mdx Co-Authored-By: Claude Opus 4.7 <[email protected]> Signed-off-by: Lawrence Lane <[email protected]>
The original Sphinx docs used `{bdg-primary}` and `{bdg-secondary}` tags on
every grid card to signal scope (e.g. `start here`, `5 min`, `nemotron`,
`benchmark`). Those tags were dropped in the Fern migration. Re-added them
faithfully using Fern's `<Badge>` component as `<Card>` children, mirroring
the original mapping (`bdg-primary` → `intent="success"`,
`bdg-warning` → `intent="warning"`, `bdg-secondary` → default).
Co-Authored-By: Claude Opus 4.7 <[email protected]>
Signed-off-by: Lawrence Lane <[email protected]>
Fern's Badge component has no margin prop, so add CSS to give card badges breathing room from the description text above and from each other when grouped on the same line. Co-Authored-By: Claude Opus 4.7 <[email protected]> Signed-off-by: Lawrence Lane <[email protected]>
Adds a fern/package.json so the Fern CLI installs reproducibly via `npm ci` rather than a manual global install, and bumps fern.config.json to match the pinned 4.80.x install. Adds four GitHub Actions workflows (sourced from the convert-to-fern toolkit, originally from NVIDIA-NeMo/Curator): - fern-docs-ci.yml: `fern check` validation on PRs touching fern/** - fern-docs-preview-build.yml: uploads fern/ artifact on PR (no secrets) - fern-docs-preview-comment.yml: builds preview, posts URL comment - publish-fern-docs.yml: publishes on push to main (docs/** or fern/**), tag docs/v*, or manual dispatch Workflows install Fern via `npm ci` against the pinned lockfile and use the new package.json scripts (`npm run check`, `npm run generate`). Preview and publish jobs require the `DOCS_FERN_TOKEN` repository or organization secret. Co-Authored-By: Claude Opus 4.7 <[email protected]> Signed-off-by: Lawrence Lane <[email protected]>
Mirrors NVIDIA-NeMo/Curator's nemo-curator-docs skill, adapted for Gym: two-version mirror rule (latest ↔ v0.2), Card+Badge fidelity mapping from the original Sphinx docs, the new npm-based fern scripts, and references to the CI workflows added in this PR. Co-Authored-By: Claude Opus 4.7 <[email protected]> Signed-off-by: Lawrence Lane <[email protected]>
1 of 2 tasks
cmunley1
approved these changes
Apr 23, 2026
ananthsub
approved these changes
Apr 23, 2026
lbliii
enabled auto-merge (squash)
April 24, 2026 13:24
chtruong814
approved these changes
Apr 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Supersedes #1040 and #1044.
install fern:
generate api docs locally (git ignored):
generate local preview:
Test plan
fern docs devlocally and verify sidebar navigation matches original docs site🤖 Generated with Claude Code