Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Open
lbliii wants to merge 3 commits into
mainfrom
lbliii/empty-docs-add-fern-readme
Open

docs: retire docs/ Sphinx tree, replace with pointer to fern/#1376
lbliii wants to merge 3 commits into
mainfrom
lbliii/empty-docs-add-fern-readme

Conversation

@lbliii
Copy link
Copy Markdown
Contributor

@lbliii lbliii commented May 20, 2026

Summary

  • Remove the deprecated docs/ Sphinx tree (78 files: MyST sources, conf.py, autodoc2_docstrings_parser.py, _images/, docs/Makefile, etc.). This tree was superseded by Fern; subsequent doc edits have been landing in fern/ only.
  • Replace it with docs/README.md — a short pointer to fern/ covering where to read the published docs, where to add a page (fern/versions/latest/pages/ for bleeding-edge, back-port to the current GA snapshot under fern/versions/<ga>/), how PR previews work, and how legacy /nemo/gym/... URLs are redirected.
  • Strip the now-broken sphinx-* wrappers from the root Makefile (they delegated to the deleted docs/Makefile); Fern targets are untouched.

Modeled on NVIDIA-NeMo/Curator#1961.

Test plan

  • Verify the published site at docs.nvidia.com/nemo/gym 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
  • Spot-check that make docs, make docs-check, make docs-publish still work end-to-end

🤖 Generated with Claude Code

lbliii and others added 2 commits May 20, 2026 12:15
Remove the deprecated Sphinx tree under docs/ (78 files: MyST sources,
conf.py, _images, autodoc2 parser, Makefile, etc.). This tree 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/ for reading, editing, and previewing the published site.

Also strip the now-broken sphinx-* wrapper targets from the root
Makefile (they delegated to the deleted docs/Makefile).

Co-Authored-By: Claude Opus 4.7 <[email protected]>
Signed-off-by: Lawrence Lane <[email protected]>
The previous commit deleted docs/Makefile but left the root Makefile's
sphinx-* targets (which delegated to it) in place. Remove them.

Also reword the docs/README.md back-port pointer so v0.2.1 reads as the
example GA at time of writing, not a permanent target; future GAs will
land under fern/versions/<ga>/.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
Signed-off-by: Lawrence Lane <[email protected]>
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