Skip to content

Add Fern docs platform: scaffolding, CI/CD, ecosystem diagram, and new pages#2182

Closed
zhenghax wants to merge 46 commits into
NVIDIA:mainfrom
zhenghax:fern-migration
Closed

Add Fern docs platform: scaffolding, CI/CD, ecosystem diagram, and new pages#2182
zhenghax wants to merge 46 commits into
NVIDIA:mainfrom
zhenghax:fern-migration

Conversation

@zhenghax

Copy link
Copy Markdown
Contributor

Summary

  • Adds Fern documentation scaffolding (fern/docs.yml, fern/fern.config.json) with custom domain support
  • Adds interactive ecosystem stack diagram (docs/_components/EcosystemDiagram.tsx, stack.ts) showing the JAX-on-NVIDIA-GPU software stack
  • Adds new documentation pages: introduction, getting-started guides, environment variables, cloud providers, container versions, FAQ, resources, staging containers, and JAX inference offloading
  • Adds three CI/CD GitHub Actions workflows: Fern docs CI, preview deploys, and production publish
  • Refines existing docs (GPU performance, AXLearn, MaxText, resiliency examples) and cleans up broken links
  • Adds Makefile, .nvmrc, .npmrc, package.json for Node/Fern toolchain

Test plan

  • Fern docs build locally via make docs (see fern/README.md)
  • CI workflow (fern-docs-ci.yml) passes on branch
  • Preview deploy workflow triggers on PR
  • Ecosystem diagram renders correctly in docs site
  • All internal links resolve

🤖 Generated with Claude Code

hogepodge and others added 30 commits June 23, 2026 15:35
- fern/fern.config.json: org nvidia, pinned to CLI 5.44.3
- fern/docs.yml: site config modeled after ai-dynamo/dynamo — global-theme
  nvidia, products/versions block, layout, colors, Adobe DTM JS
- docs/index.yml: navigation tree (11 pages across 5 sections), paths
  relative to docs/ following the Dynamo pattern
- docs/overview.md: landing page (root README has CI badge tables that
  don't render in Fern)
- docs/GPU_performance.md: escape bare <> placeholder that broke MDX parser
- docs/resiliency/example/run_example.md: replace "this directory" file
  references with GitHub links; add missing H1
- docs/getting-started/{introduction,frameworks,build-status,environment-variables}.md
- docs/inference/jax-inference-offloading.md
- docs/reference/{container-versions,staging-containers,cloud-providers,faq,resources}.md
- fern/README.md

Updated docs/index.yml to include all new sections (Getting Started,
Inference, Reference). Introduction is now the landing page (slug: /).

Modified files restored from origin/main; GPU_performance.md MDX fix
reapplied (<> → backtick-escaped placeholder).
- docs/ecosystem/jax-on-nvidia-gpu-stack.mdx: new page with prose framing
  and <EcosystemDiagram /> component
- docs/_components/EcosystemDiagram.tsx: React component driven by DATA
  injected at build time; all inline styles so NVIDIA global theme CSS
  cannot override; category color tints (nvidia=green, jax=blue, other=gray)
  using rgba for light/dark compatibility; centered chip layout with
  flex-wrap; inset ring for category, outer glow on selection; overview
  panel with placeholder when nothing selected
- docs/ecosystem/stack.yml + projects/*.md: source data for the diagram
- scripts/build-ecosystem.mjs: reads stack.yml + project .md files,
  generates TypeScript DATA block, splices it into EcosystemDiagram.tsx
  between ECOSYSTEM-DATA markers
- fern/docs.yml: add mdx-components path pointing to docs/_components/
- docs/index.yml: add JAX on NVIDIA GPU Stack page to navigation
- package.json + scripts: docs:ecosystem, docs:dev, docs:check, docs:preview
Fixes the outdated directory tree (removes fern/components/, adds
docs/_components/ and docs/ecosystem/), documents the ecosystem build
step and ECOSYSTEM-DATA marker pattern, and explains how to add or
update projects in the stack diagram.
The build step existed to generate per-project CSS selectors. Now that
the diagram is a React component with all inline styles, no CSS generation
is needed — the data is a plain TypeScript module imported directly.

- docs/_components/stack.ts: new source of truth; clean object literal
  with inline descriptions; replaces stack.yml + projects/*.md + build script
- docs/_components/EcosystemDiagram.tsx: imports STACK from ./stack;
  drops ECOSYSTEM-DATA markers and overview wrapper
- docs/ecosystem/projects/*.md: deleted (descriptions now inline in stack.ts)
- scripts/build-ecosystem.mjs: deleted
- package.json: remove docs:ecosystem script and js-yaml dependency
- fern/README.md: update build instructions to reflect no build step;
  document stack.ts project object format
The npm scripts use the local node_modules install, but fern login
needs the CLI available globally or via npx.
- JAX/OSS category color changed from blue to purple (#a78bfa)
- All category chip background opacity raised to 20%
- Cell borders darkened to 60% opacity for more contrast
- Description panel name badge now uses the project's category color
- Frameworks cell widened to span full training+inference band
- Datacenter, Workstation, GeForce RTX, Jetson now clickable with
  platform-level descriptions and product family links
- Merge Training and Inference into a single 10-unit column
- Uncomment docs.nvidia.com/jax-toolbox/ custom domain in docs.yml
- Add fern-docs-ci.yml: PR validation (fern check + broken-links, no token)
- Add fern-docs-preview.yml: preview URL on PRs (requires FERN_TOKEN secret)
- Add publish-fern-docs.yml: publish to production on main push or dispatch (requires FERN_TOKEN secret)
- Remove axlearn and alphafold3 from project registry
- Fix MaxText GPU_performance.md relative path (../../GPU_performance.md)
- Fix MaxText example_slurm.sub link (scripts/ subdir did not exist; use GitHub URL)
- Remove dead AXLearn EKS workflow YAML links; rewrite Testing section
- Fix resiliency example/ directory link to example/run_example.md
- All fern docs broken-links checks now pass
zhenghax and others added 7 commits June 25, 2026 11:03
Co-authored-by: Andrew Schilling <85314306+aschilling-nv@users.noreply.github.com>
Co-authored-by: Andrew Schilling <85314306+aschilling-nv@users.noreply.github.com>
Co-authored-by: Andrew Schilling <85314306+aschilling-nv@users.noreply.github.com>
aybchan
aybchan previously approved these changes Jun 26, 2026
@zhenghax
zhenghax requested a review from aschilling-nv June 30, 2026 18:05
Comment thread fern/fern.config.json Outdated

@aschilling-nv aschilling-nv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found an additional fern version.

Comment thread package.json Outdated
Co-authored-by: Andrew Schilling <85314306+aschilling-nv@users.noreply.github.com>
@zhenghax

Copy link
Copy Markdown
Contributor Author

Found an additional fern version.

Thanks for finding, update the fern version.

@zhenghax
zhenghax requested a review from aybchan June 30, 2026 20:24
aybchan
aybchan previously approved these changes Jul 1, 2026
@olupton

olupton commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

/ok to test f5cbdcb

aybchan and others added 2 commits July 2, 2026 18:11
Add push trigger for pull-request/* branches (copy-pr-bot pattern) to both
workflows so they run with access to repo secrets for external contributors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@aybchan

aybchan commented Jul 6, 2026

Copy link
Copy Markdown
Member

/ok to test bb8365d

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

@aybchan

aybchan commented Jul 7, 2026

Copy link
Copy Markdown
Member

Superseded by #2200

@aybchan aybchan closed this Jul 7, 2026
aybchan added a commit that referenced this pull request Jul 7, 2026
…w pages (#2200)

#2182

---------

Co-authored-by: Chris Hoge <choge@nvidia.com>
Co-authored-by: Zhenghang (Max) Xu <zhenghax@gmail.com>
Co-authored-by: Andrew Schilling <85314306+aschilling-nv@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants