RL icon indicating copy to clipboard operation
RL copied to clipboard

docs: organize guides section into subcategories

Open lonexreb opened this issue 5 months ago • 2 comments

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.md changes, plus six new landing pages.
  • guides/sft-openmathinstruct2.md (E2E Examples) and guides/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.

lonexreb avatar Jun 12 '26 00:06 lonexreb

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.

copy-pr-bot[bot] avatar Jun 12 '26 00:06 copy-pr-bot[bot]

/ok to test a4c54f36de4ac6dc0a4584dde191b47fff8ece62

lonexreb avatar Jun 12 '26 00:06 lonexreb

/ok to test b1577bb4

jinglinglingling avatar Jun 17 '26 08:06 jinglinglingling

Hi @yuki-97 , could you please review this PR? Thanks.

jinglinglingling avatar Jun 17 '26 08:06 jinglinglingling

/ok to test 26332b1be09f9574f5a2f47c013f5157dbcfb665

lonexreb avatar Jul 10 '26 15:07 lonexreb

/ok to test 57b19e14f97a1cac01716b6680f284bd6f53c216

lonexreb avatar Aug 29 '26 21:08 lonexreb

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-level nemotron-3-*.md files are now orphaned redirect stubs and are no longer listed), keeping deepseek, adding-new-models, and model-quirks;
  • adds the new single-controller, refit, checkpoint-engine-refit, and dynamo-generation guides 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.

lonexreb avatar Aug 29 '26 21:08 lonexreb