Skip to content

docs: retire docs/ Sphinx tree, replace with pointer to fern/#1961

Open
lbliii wants to merge 3 commits intoNVIDIA-NeMo:mainfrom
lbliii:lbliii/docs-readme-redirect-fern
Open

docs: retire docs/ Sphinx tree, replace with pointer to fern/#1961
lbliii wants to merge 3 commits intoNVIDIA-NeMo:mainfrom
lbliii:lbliii/docs-readme-redirect-fern

Conversation

@lbliii
Copy link
Copy Markdown
Contributor

@lbliii lbliii commented May 8, 2026

Summary

  • Remove the deprecated docs/ Sphinx tree (193 files: MyST sources, Sphinx extensions, conf.py, _images, _templates, broken-link allowlists, etc.). This tree has been the historical source for the published site but was superseded by Fern; subsequent doc edits have been landing in fern/ only. Replace it with a single docs/README.md that points contributors to fern/.
  • Add a comprehensive fern/README.md modeled on NVIDIA-NeMo/Gym#1241. Tailored to Curator's actual layout:
    • Calendar-train versions (v25.09 / v26.02 / v26.04) with display-name paired against the git release tag (v1.0.0 / v1.1.0 / v1.1.2)
    • latest.yml is a real symlink to v26.04.yml (verified lrwxr-xr-x ... -> v26.04.yml)
    • Documents substitute_variables.py (CI/local {{ variable }} replacement) and the libraries: block (Python autodoc → product-docs/, see AUTODOCS_GUIDE.md)
    • CI workflow table reflects the real four workflows: fern-docs-ci.yml, fern-docs-preview-build.yml, fern-docs-preview-comment.yml, publish-fern-docs.yml
    • Quickstart, authoring conventions (frontmatter, components, internal links, cross-repo refs), GA-cut ritual, and a troubleshooting table

Follow-ups (not in this PR)

  • The Makefile still has Sphinx targets (docs-html, docs-live, docs-publish, docs-env, etc.) that cd docs && sphinx-build and will fail now that docs/ is empty. Worth a follow-up to either remove them or repoint them at fern/.
  • .github/workflows/config/.secrets.baseline has stale docs/... entries that can be regenerated when convenient — they're harmless allowlist remnants and won't trigger anything.

Test plan

  • Verify the published site at docs.nvidia.com/nemo/curator is unaffected (this PR doesn't touch fern/ content or docs.yml redirects)
  • Confirm docs/README.md renders correctly on GitHub with working links to ../fern/ and ../fern/README.md
  • Confirm fern/README.md renders correctly on GitHub
  • Spot-check a few legacy URLs (e.g. /nemo/curator/index.html, /nemo/curator/26.02/...) still redirect via the rules already in fern/docs.yml

🤖 Generated with Claude Code

The Sphinx source under docs/ was deprecated when the site moved to
Fern; this removes the stale tree and replaces it with a one-page
pointer so contributors land in fern/ directly.

The new fern/README.md documents the layout, local dev flow, version
snapshot/symlink scheme, authoring conventions, CI workflows, and
publishing — modeled on NVIDIA-NeMo/Gym#1241.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: Lawrence Lane <llane@nvidia.com>
@lbliii lbliii requested review from a team as code owners May 8, 2026 18:31
@lbliii lbliii requested review from abhinavg4 and removed request for a team May 8, 2026 18:31
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 8, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Rewrites the top-level Makefile around Fern (`docs`, `docs-check`,
`docs-login`, `docs-generate-library`, `docs-substitute`, `docs-preview`,
`docs-publish`, `docs-clean`), modeled on the Gym fern README's target
ideas. The bare `make docs` target now boots the Fern dev server.

Also removes the now-orphaned Sphinx pieces:
- .github/workflows/build-docs.yml — invoked the FW-CI Sphinx builder
  on `docs/`, which no longer exists; would fail on every PR.
- requirements-docs.txt — Sphinx/MyST/nvidia-sphinx-theme deps, only
  referenced by the workflow above and the old Makefile.
- .github/copilot-instructions.md `make docs-html` reference.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: Lawrence Lane <llane@nvidia.com>
@lbliii lbliii requested a review from a team as a code owner May 8, 2026 18:36
Adds the Gym-style separation between bleeding-edge and frozen GA:

  fern/versions/main.yml          # nav stub
  fern/versions/main/pages/       # one placeholder page

`docs.yml` `versions:` gains a "Main (beta)" entry between Latest and
v26.04. `main.yml` carries seeding instructions in a header comment so
the eventual seed is mechanical:

  cp -r fern/versions/v26.04/pages/* fern/versions/main/pages/
  cp fern/versions/v26.04.yml        fern/versions/main.yml
  sed -i '' 's|\./v26\.04/|./main/|g' fern/versions/main.yml

Page seeding is intentionally deferred to a follow-up commit so it
doesn't conflict with pending v26.04 content changes. Until then,
edits continue to land in v26.04/pages/. README updates reflect the
transitional state.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: Lawrence Lane <llane@nvidia.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.

1 participant