docs: organize guides section into subcategories
What does this PR do ?
Closes #2705.
The Guides section of the docs sidebar was a single flat list of 25 entries, which made it hard to find algorithm-specific content. This PR organizes it into six subcategories, following the suggestion in #2705 (GRPO, SFT, Evaluation, Environments) extended to cover all existing guides:
| Subcategory | Guides |
|---|---|
| GRPO and PPO | grpo, grpo-deepscaler, grpo-sliding-puzzle, grpo-audio, async-grpo, dapo, cispo, prorlv2, ppo |
| SFT, DPO, and RM | sft, dpo, rm |
| Evaluation and Environments | eval, environments |
| Models | nemotron-3-nano, deepseek, adding-new-models, model-quirks |
| Advanced Training Techniques | quantization-aware-rl, eagle3-speculative-decoding, yarn-long-context, xtoken-off-policy-distillation, muon-optimizer |
| Troubleshooting and Reliability | dtensor-tp-accuracy, ft-launcher-guide |
Each subcategory is a small landing page with a one-line description and a visible {toctree}, following the existing pattern in docs/about/algorithms/index.md. In the sidebar, each subcategory renders as a collapsible entry under the Guides caption.
Design notes
- No files are moved and no URLs change. Existing guide pages stay at their current paths, so the ~30 inbound references (README, source docstrings, example configs, published doc URLs) all remain valid. Only the toctree wiring in
docs/index.mdchanges, plus six new landing pages. guides/sft-openmathinstruct2.md(E2E Examples) andguides/use-custom-vllm.md(Development) keep their current sections, as before.- The "Installation" grouping suggested in the issue is not part of the Guides toctree (installation docs live under About), so it is not included here.
Issues
Closes #2705
Usage
N/A — documentation-only change.
Before your PR is "Ready for review"
Pre checks:
- [ ] Make sure you read and followed Contributor guidelines
- [ ] Did you write any new necessary tests? N/A (docs only)
- [ ] Did you run the unit tests and functional tests locally? N/A (docs only; verified with a local
sphinx-build— no new warnings) - [ ] Did you add or update any necessary documentation? Yes, this PR is documentation-only
Additional Information
- Verified locally with
sphinx-build: build succeeds and all guides remain reachable from exactly one toctree.
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.
/ok to test a4c54f36de4ac6dc0a4584dde191b47fff8ece62
/ok to test b1577bb4
Hi @yuki-97 , could you please review this PR? Thanks.
/ok to test 26332b1be09f9574f5a2f47c013f5157dbcfb665
/ok to test 57b19e14f97a1cac01716b6680f284bd6f53c216
Rebased onto latest main (46dfb92). Since the last rebase the guides section gained several new pages and the model guides moved into the guides/models/ family hub, so beyond resolving the docs/index.md toctree conflict this update:
- points the Models subcategory at
guides/models/index(the top-levelnemotron-3-*.mdfiles are now orphaned redirect stubs and are no longer listed), keepingdeepseek,adding-new-models, andmodel-quirks; - adds the new
single-controller,refit,checkpoint-engine-refit, anddynamo-generationguides to the Advanced Training Techniques subcategory.
Verified with a local Sphinx build: exit 0, zero warnings (no orphaned or toctree-missing pages). @yuki-97 this should be ready for another look whenever convenient.