Skip to content

docs: Refactor Home Page and New About Section#1338

Merged
terrykong merged 30 commits intomainfrom
jgerhold/about-section-only
Nov 17, 2025
Merged

docs: Refactor Home Page and New About Section#1338
terrykong merged 30 commits intomainfrom
jgerhold/about-section-only

Conversation

@jgerh
Copy link
Copy Markdown
Contributor

@jgerh jgerh commented Oct 10, 2025

What does this PR do ?

**Refactor content from README.md file and migrate to new About section.

Summary by CodeRabbit

  • Documentation

    • Added comprehensive docs: Algorithms (GRPO, DPO, SFT, RM, On‑policy Distillation), Backends, Clusters, Evaluation, Installation, Overview, Quick Start, Tips & Tricks, and Features.
    • Improved navigation and captions; added API Reference section.
    • Enabled richer docs features (design components, diagrams) and live examples/guides.
  • Chores

    • Introduced cross‑platform docs tooling: build, clean, live preview, and publish commands, plus environment setup helpers and Pinecone indexing workflows.
  • Style

    • Simplified toctree captions by removing emojis for a cleaner look.

@jgerh jgerh self-assigned this Oct 10, 2025
@jgerh jgerh requested review from a team as code owners October 10, 2025 20:27
@github-actions github-actions Bot added the Documentation Improvements or additions to documentation label Oct 10, 2025
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Oct 10, 2025

📝 Walkthrough

Walkthrough

Adds a new Sphinx documentation build workflow (Makefile) with OS-aware virtualenv handling, multiple build/publish/live targets, and Pinecone-related tasks. Introduces/updates docs content across “About” and “Algorithms” sections, adjusts Sphinx config and dependencies, and updates the docs landing page with standardized captions and an API Reference toctree.

Changes

Cohort / File(s) Summary of changes
Docs build system & config
Makefile, docs/conf.py, pyproject.toml
New Makefile with cross-platform env setup (uv/.venv-docs), build/live/publish targets (including variants) and Pinecone tasks; Sphinx extensions updated (design, ifconfig, mermaid) and conditional autodoc2; docs extras deps expanded (sphinx-design, sphinxcontrib-mermaid, swagger-plugin-for-sphinx, pinecone, openai, python-dotenv).
Algorithms docs
docs/about/algorithms/index.md, docs/about/algorithms/grpo.md, docs/about/algorithms/on-policy-distillation.md, docs/about/algorithms/sft.md, docs/about/algorithms/dpo.md, docs/about/algorithms/rm.md
New/expanded algorithm pages with single-node and multi-node usage examples, configs/overrides, backend notes, and links to related guides/configs. Adds Algorithms index with support matrix and toctree.
About docs (core pages)
docs/about/overview.md, docs/about/installation.md, docs/about/quick-start.md, docs/about/features.md, docs/about/backends.md, docs/about/clusters.md, docs/about/evaluation.md, docs/about/tips-and-tricks.md
Adds overview, installation, quick start, features, backends, cluster setup pointer, evaluation workflow (incl. HF/Megatron conversion), and tips (submodules, CUDA allocator).
Docs landing page
docs/index.md
Standardizes toctree captions (remove emojis), reorganizes sections, and adds an API Reference toctree entry.

Sequence Diagram(s)

sequenceDiagram
    autonumber
    actor Dev as Developer
    participant MK as make
    participant UV as uv / .venv-docs
    participant SPH as Sphinx
    participant LIVE as Live Server
    participant PC as Pinecone

    Dev->>MK: make docs-env
    MK->>UV: Check/install uv, create .venv-docs
    UV-->>Dev: Activation instructions

    Dev->>MK: make docs-html (DOCS_ENV=ga|ea|internal|draft)
    MK->>UV: Run docs python
    UV->>SPH: Build HTML (tags, fail-on-warn as configured)
    SPH-->>Dev: _build/html

    Dev->>MK: make docs-live-<env>
    MK->>LIVE: Serve _build/html (auto-reload)

    Dev->>MK: make docs-publish-<env>
    MK->>UV: Run publish script
    UV-->>Dev: Publish result

    Dev->>MK: make docs-pinecone-update
    MK->>SPH: (depends) Build HTML
    MK->>UV: Run Pinecone update script
    UV->>PC: Upsert/update index
    PC-->>Dev: Update status
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Suggested labels

CI:docs

Suggested reviewers

  • snowmanwwg

Pre-merge checks and finishing touches

✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title accurately reflects the main focus of this changeset—refactoring the home page and introducing a new About section in the documentation—and aligns with the PR’s stated objectives without added noise or unrelated details.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Test Results For Major Changes ✅ Passed The PR primarily restructures documentation, adds supporting docs content, and updates doc build tooling without touching core runtime code or introducing new features that would impact behavior, numerics, or performance. Given the scope is limited to documentation and ancillary build scripts, this qualifies as a minor change. Therefore, the absence of explicit test results or performance data in the PR description is acceptable under the custom check criteria.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch jgerhold/about-section-only

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 6

🧹 Nitpick comments (6)
docs/about/backends.md (1)

7-11: Clarify naming: “Megatron Core” vs “Megatron”.

Use “Megatron Core” for the training backend to match repo terminology and reduce ambiguity with the inference backend.

-- [**Megatron**](https://github.com/NVIDIA-NeMo/Megatron-Bridge) - NVIDIA's high-performance training framework for scaling to large models with 6D parallelisms
+- [**Megatron Core**](https://github.com/NVIDIA-NeMo/Megatron-Bridge) - NVIDIA's high-performance training framework for scaling to large models with 6D parallelisms
docs/about/algorithms/on-policy-distillation.md (1)

32-43: Use NUM_ACTOR_NODES in COMMAND and template names to avoid drift.

Keep node counts consistent between sbatch flags and config overrides.

-COMMAND="uv run ./examples/run_distillation_math.py --config examples/configs/distillation_math.yaml cluster.num_nodes=2 cluster.gpus_per_node=8 checkpointing.checkpoint_dir='results/distill_2nodes' logger.wandb_enabled=True logger.wandb.name='distill-2nodes'" \
+COMMAND="uv run ./examples/run_distillation_math.py --config examples/configs/distillation_math.yaml cluster.num_nodes=${NUM_ACTOR_NODES} cluster.gpus_per_node=8 checkpointing.checkpoint_dir='results/distill_${NUM_ACTOR_NODES}nodes' logger.wandb_enabled=True logger.wandb.name='distill-${NUM_ACTOR_NODES}nodes'" \
docs/about/algorithms/rm.md (2)

9-11: Unify command style.

Use a single invocation style for clarity (either uv run python examples/run_rm.py or uv run ./examples/run_rm.py) across the page.

Also applies to: 17-19


32-43: Use NUM_ACTOR_NODES consistently.

Hard-coded cluster.num_nodes=2; parameterize to match NUM_ACTOR_NODES to avoid drift.

Apply:

-COMMAND="uv run ./examples/run_rm.py --config examples/configs/rm.yaml cluster.num_nodes=2 cluster.gpus_per_node=8 checkpointing.checkpoint_dir='results/rm_llama1b_2nodes' logger.wandb_enabled=True logger.wandb.name='rm-llama1b-2nodes'" \
+COMMAND="uv run ./examples/run_rm.py --config examples/configs/rm.yaml cluster.num_nodes=${NUM_ACTOR_NODES} cluster.gpus_per_node=8 checkpointing.checkpoint_dir='results/rm_llama1b_${NUM_ACTOR_NODES}nodes' logger.wandb_enabled=True logger.wandb.name='rm-llama1b-${NUM_ACTOR_NODES}nodes'" \
Makefile (2)

225-240: Ensure env is prepared before Pinecone actions.

Add dependency on docs-env so scripts run with installed deps. Also consider passing explicit -- to script args.

Apply:

-docs-pinecone-test:
+docs-pinecone-test: docs-env
@@
-docs-pinecone-upload-dry:
+docs-pinecone-upload-dry: docs-env
@@
-docs-pinecone-upload:
+docs-pinecone-upload: docs-env
@@
-docs-pinecone-update: docs-html
+docs-pinecone-update: docs-html

6-10: .PHONY duplication and missing conventional aliases (optional).

Deduplicate .PHONY and add conventional all/clean/test aliases to satisfy checkmake and developer expectations.

Apply:

-.PHONY: help docs-html docs-clean docs-live docs-env docs-publish \
+.PHONY: help all clean test docs-html docs-clean docs-live docs-env docs-publish \
         docs-html-internal docs-html-ga docs-html-ea docs-html-draft \
         docs-live-internal docs-live-ga docs-live-ea docs-live-draft \
         docs-publish-internal docs-publish-ga docs-publish-ea docs-publish-draft \
         docs-pinecone-test docs-pinecone-upload docs-pinecone-upload-dry docs-pinecone-update
@@
-.PHONY: docs-html docs-clean docs-live docs-env
+all: docs-html
+clean: docs-clean
+test: docs-pinecone-test
+.PHONY: docs-html docs-clean docs-live docs-env

Also applies to: 88-95

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f29fa2a and 1b531c1.

📒 Files selected for processing (18)
  • Makefile (1 hunks)
  • docs/about/algorithms/dpo.md (1 hunks)
  • docs/about/algorithms/grpo.md (1 hunks)
  • docs/about/algorithms/index.md (1 hunks)
  • docs/about/algorithms/on-policy-distillation.md (1 hunks)
  • docs/about/algorithms/rm.md (1 hunks)
  • docs/about/algorithms/sft.md (1 hunks)
  • docs/about/backends.md (1 hunks)
  • docs/about/clusters.md (1 hunks)
  • docs/about/evaluation.md (1 hunks)
  • docs/about/features.md (1 hunks)
  • docs/about/installation.md (1 hunks)
  • docs/about/overview.md (1 hunks)
  • docs/about/quick-start.md (1 hunks)
  • docs/about/tips-and-tricks.md (1 hunks)
  • docs/conf.py (1 hunks)
  • docs/index.md (5 hunks)
  • pyproject.toml (1 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
docs/**/*.md

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

When a markdown doc under docs/**/*.md is added or renamed, update docs/index.md to include it in the appropriate section

Files:

  • docs/about/overview.md
  • docs/about/features.md
  • docs/about/clusters.md
  • docs/about/algorithms/on-policy-distillation.md
  • docs/about/algorithms/dpo.md
  • docs/about/algorithms/index.md
  • docs/about/algorithms/grpo.md
  • docs/about/algorithms/rm.md
  • docs/about/backends.md
  • docs/index.md
  • docs/about/algorithms/sft.md
  • docs/about/tips-and-tricks.md
  • docs/about/installation.md
  • docs/about/quick-start.md
  • docs/about/evaluation.md
**/*.py

📄 CodeRabbit inference engine (CODING_GUIDELINES.md)

**/*.py: Follow the Google Python Style Guide for all Python code
Target Python 3.12+ for all Python code in NeMo-RL
Indent Python code with 4 spaces; do not use tabs
Python filenames should be snake_case (e.g., some_file.py)
Class names should be PascalCase
Function and method names should be snake_case
Local variable names should be snake_case; if starting with a number, prefix with k (e.g., k_99th_percentile)
Global variables should be UPPER_SNAKE_CASE and prefixed with G_ (e.g., G_MY_GLOBAL)
Constants should be UPPER_SNAKE_CASE
Avoid shadowing variables declared in an outer scope
Initialize all externally visible members of a class in the constructor
For public interfaces used outside a file, prefer docstrings over comments
Use comments mainly for code within a function or interfaces local to a file
Commented-out code must include a nearby comment explaining usage and why it is commented out; otherwise remove before merging
Use Google-style docstrings for classes and functions (Sphinx-parseable)
Avoid using reflection when functionality can be easily achieved without it
Limit except clauses to the smallest specific set of exceptions possible
For duck-typing via try/except, keep the try body minimal and use else for main logic
Add the NVIDIA copyright header (with current year) at the top of all Python files, excluding tests/ and test-only scripts

Files:

  • docs/conf.py
🪛 checkmake (0.2.2)
Makefile

[warning] 13-13: Target body for "help" exceeds allowed length of 5 (37).

(maxbodylength)


[warning] 90-90: Missing required phony target "all"

(minphony)


[warning] 90-90: Missing required phony target "clean"

(minphony)


[warning] 90-90: Missing required phony target "test"

(minphony)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Post automodel integration comment / Comment on PR
  • GitHub Check: Post submodule check comment / Comment on PR
🔇 Additional comments (38)
docs/about/clusters.md (2)

1-4: Ensure inclusion in docs index.

Add this page to docs/index.md in the appropriate section so it appears in navigation.


3-3: Do not change the link—../cluster.md is correct. There is no cluster-start.md file; the “Cluster Start” guide lives at docs/cluster.md and is already properly referenced via ../cluster.md.

Likely an incorrect or invalid review comment.

docs/about/installation.md (2)

1-113: No action needed: Installation is already linked in docs/index.md

Likely an incorrect or invalid review comment.


87-91: Link to ../docker.md correctly resolves to docs/docker.md (file exists).

docs/about/features.md (1)

1-32: docs/index.md already lists About/Features
No action required.

docs/about/tips-and-tricks.md (2)

1-43: No index update needed. ‘about/tips-and-tricks’ is already listed in docs/index.md.


20-21: Fix documentation script reference
Neither examples/run_grpo.py nor examples/run_grpo_math.py exists. Confirm the intended script name and update this snippet accordingly.

docs/about/quick-start.md (1)

1-42: Quick Start content looks good.
MyST notes and tables render fine; links to installation and tips are consistent.

docs/about/backends.md (1)

10-10: Verified linked docs exist. Both docs/design-docs/training-backends.md and docs/design-docs/generation.md are present, and about/backends is indexed in docs/index.md.

pyproject.toml (1)

129-138: Scope AI deps out of core docs and verify extensions

  • Move “openai”, “pinecone”, “python-dotenv” out of the core docs extras into a separate docs-ai group.
  • Manually confirm that sphinxcontrib-mermaid and swagger-plugin-for-sphinx support Sphinx 8.x and are correctly enabled in your conf.py (or consider using sphinxcontrib-openapi if compatibility issues arise).
docs/about/evaluation.md (3)

33-56: LGTM!

The evaluation commands are well-documented with clear examples and helpful inline comments. The note about evaluation variance is valuable for users.


31-31: Checkpointing documentation link is valid.
File docs/design-docs/checkpointing.md exists and is correctly referenced.


61-61: References verified
Both examples/configs/evals/eval.yaml and docs/guides/eval.md exist and the links are correct.

docs/conf.py (2)

45-45: Clarify the conditional logic for autodoc2.

The comment states autodoc2 will be "Added conditionally below based on package availability," but there's no implementation of this conditional logic visible in the provided code. Either implement the conditional check or clarify if this will be addressed in a future change.

Consider adding the conditional logic, for example:

try:
    import autodoc2
    extensions.append("autodoc2")
except ImportError:
    pass

Or update the comment to indicate this is a TODO item for future implementation.


50-52: Extension dependencies are declared in pyproject.toml.
pyproject.toml includes sphinx-design (line 129) and sphinxcontrib-mermaid (line 136); sphinx.ext.ifconfig is built into Sphinx core and needs no external listing.

docs/about/overview.md (2)

1-13: LGTM!

The overview content is clear, well-structured, and accurately describes the project's capabilities and value proposition.


14-18: Referenced documentation file verified. docs/design-docs/design-and-philosophy.md exists in the repository.

docs/about/algorithms/index.md (2)

15-24: LGTM!

The toctree structure is properly configured with appropriate depth and navigation settings. The entries align with the algorithm files referenced in the support matrix.


7-13: All algorithm documentation links valid. Verified that every referenced markdown file and section anchor exists under docs/about/algorithms.

docs/about/algorithms/sft.md (4)

9-23: LGTM!

The command examples are clear and well-documented. The progression from single-GPU to multi-GPU usage with parameter adjustments is helpful for users.


27-44: LGTM!

The multi-node deployment example is well-structured with clear placeholders for customization. The sbatch configuration is appropriate for a Slurm cluster environment.


25-25: Configuration file reference is correct; examples/configs/sft.yaml exists.


3-3: SFT guide link is valid. The file docs/guides/sft.md exists at the referenced path.

docs/about/algorithms/grpo.md (7)

7-43: LGTM!

The single-node examples are comprehensive, showing progression from basic usage to multi-GPU and different backend configurations. The examples are clear and well-commented.


47-65: LGTM!

The multi-node deployment example follows the same clear structure as other algorithm examples, making it easy for users familiar with one algorithm to adapt to another.


69-93: LGTM!

The large-scale deployment example for Qwen2.5-32B is comprehensive, showing proper environment setup and advanced parallelism configurations. The pre-download recommendation (line 78) is a valuable best practice.


95-101: LGTM!

The multi-turn section concisely introduces the capability with a practical example. The sliding puzzle use case effectively demonstrates the feature.


67-67: Docker documentation link is valid
The link ../../docker.md correctly resolves to docs/docker.md, which exists.


45-45: Training backends doc link is correct.
The file docs/design-docs/training-backends.md exists and the reference is valid.


5-5: GRPO guide reference is valid.
The file docs/guides/grpo.md exists at the referenced location.

docs/about/algorithms/dpo.md (4)

1-3: LGTM!

The introduction clearly describes the DPO example and references the dataset appropriately.


5-33: LGTM!

The DPO single-node examples follow the established pattern from other algorithm documentation, making it easy for users to understand. The parameter customization examples are well-chosen and relevant.


37-57: LGTM!

The multi-node deployment example maintains consistency with other algorithm documentation, which helps users who work across multiple algorithms.


35-35: Referenced files verified: both examples/configs/dpo.yaml and docs/guides/dpo.md exist.

docs/index.md (2)

1-167: LGTM!

The restructured landing page with grid cards provides excellent user experience and clear navigation to all documentation sections. The use of octicon icons is consistent and helpful.


168-252: Caption standardization improves consistency.

The removal of emojis from toctree captions creates a more professional and consistent documentation structure. All new documentation files from this PR are properly included in the appropriate sections.

Based on coding guidelines: "When a markdown doc under docs/**/*.md is added or renamed, update docs/index.md to include it in the appropriate section" - this has been properly done for the new files added in this PR.

As per coding guidelines

docs/about/algorithms/rm.md (2)

21-21: RM guide link is correct
The file at docs/guides/rm.md exists and is included in docs/index.md; no changes needed.


1-44: No toctree update needed.
The RM page is already listed in docs/about/algorithms/index.md; no action required.

Comment thread docs/about/algorithms/on-policy-distillation.md Outdated
Comment thread docs/about/features.md Outdated
Comment thread docs/about/tips-and-tricks.md
Comment thread docs/index.md
Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread docs/conf.py Outdated
Copy link
Copy Markdown
Collaborator

@terrykong terrykong left a comment

Choose a reason for hiding this comment

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

thanks jennifer. some comments:

  1. Can you move the Makefile into docs/, I don't think it needs to be visible if not working on the docs
  2. can you adjust the makefile to use uv like https://github.com/NVIDIA-NeMo/RL/blob/main/docs/documentation.md. this is to keep the dependencies consistent with what we put in pyproject.toml/uv.lock (i also tried this locally and it didn't work b/c there's a lot of assumptions on the virtual env, this is solved when we use uv)
  3. there's a lot going on in that makefile. is everything necessary? if there's stuff there that is largely unused, can we remove what we don't need? status quo is there are only four commands in https://github.com/NVIDIA-NeMo/RL/blob/main/docs/documentation.md, but now there are lots. it's always easier to add than to take away, so prefer keeping it slim to what we need and add as needed.
  4. i see you've split up the frontpage readme into different sections. is the steady state to remove the front page readme and just link to the documentation? my preference is to have it only in one place, since editing it in two places is error prone
  5. can you change all the admonitions to the github style so it looks good even if someone stumbled on the docs from github?

@jgerh jgerh requested a review from lbliii October 17, 2025 19:18
Comment thread docs/about/algorithms/index.md Outdated
Comment thread docs/about/backends.md Outdated
Comment thread docs/about/clusters.md Outdated
Comment thread docs/about/features.md Outdated
Comment thread docs/about/overview.md Outdated
Comment thread docs/about/algorithms/index.md
Copy link
Copy Markdown
Collaborator

@terrykong terrykong left a comment

Choose a reason for hiding this comment

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

@jgerh also heads up that #602 landed so that's anothing thing to be mirrored into the algorithms of the v2 docs

@lbliii lbliii self-assigned this Oct 28, 2025
@lbliii lbliii changed the title Docs: Refactor Home Page and New About Section docs: Refactor Home Page and New About Section Oct 28, 2025
@lbliii lbliii requested review from a team as code owners October 28, 2025 16:13
@github-actions
Copy link
Copy Markdown

❌ Submodule Fast-Forward Check Failed

Check based on commit: 785d4e6 (PR #1338 from jgerhold/about-section-only)

❌ Submodules that need attention:

Automodel: ❌ PR branch is BEHIND main branch
TARGET (main branch): https://github.com/NVIDIA-NeMo/Automodel/commits/a2db048383cd54b3fafc928df4c30bf7bbf7c430/
CURRENT (PR #1338 from jgerhold/about-section-only): https://github.com/NVIDIA-NeMo/Automodel/commits/277a8a8d951f6d8bf030d34915cfa61b88eebffd/

Megatron-Bridge: ❌ PR branch is BEHIND main branch
TARGET (main branch): https://github.com/NVIDIA-NeMo/Megatron-Bridge/commits/62f4704b8d665ac4a8c318a809a070217caa8901/
CURRENT (PR #1338 from jgerhold/about-section-only): https://github.com/NVIDIA-NeMo/Megatron-Bridge/commits/9d69624cb75e46f06ddfadd9a726acecfcf8b064/

Please ensure all submodule commits are fast-forwards of the main branch before merging.

@github-actions
Copy link
Copy Markdown

❌ Submodule Fast-Forward Check Failed

Check based on commit: a887fda (PR #1338 from jgerhold/about-section-only)

❌ Submodules that need attention:

Automodel: ❌ PR branch is BEHIND main branch
TARGET (main branch): https://github.com/NVIDIA-NeMo/Automodel/commits/a2db048383cd54b3fafc928df4c30bf7bbf7c430/
CURRENT (PR #1338 from jgerhold/about-section-only): https://github.com/NVIDIA-NeMo/Automodel/commits/277a8a8d951f6d8bf030d34915cfa61b88eebffd/

Megatron-Bridge: ❌ PR branch is BEHIND main branch
TARGET (main branch): https://github.com/NVIDIA-NeMo/Megatron-Bridge/commits/62f4704b8d665ac4a8c318a809a070217caa8901/
CURRENT (PR #1338 from jgerhold/about-section-only): https://github.com/NVIDIA-NeMo/Megatron-Bridge/commits/9d69624cb75e46f06ddfadd9a726acecfcf8b064/

Please ensure all submodule commits are fast-forwards of the main branch before merging.

@lbliii
Copy link
Copy Markdown
Contributor

lbliii commented Oct 28, 2025

thanks jennifer. some comments:

  1. Can you move the Makefile into docs/, I don't think it needs to be visible if not working on the docs
  2. can you adjust the makefile to use uv like https://github.com/NVIDIA-NeMo/RL/blob/main/docs/documentation.md. this is to keep the dependencies consistent with what we put in pyproject.toml/uv.lock (i also tried this locally and it didn't work b/c there's a lot of assumptions on the virtual env, this is solved when we use uv)
  3. there's a lot going on in that makefile. is everything necessary? if there's stuff there that is largely unused, can we remove what we don't need? status quo is there are only four commands in https://github.com/NVIDIA-NeMo/RL/blob/main/docs/documentation.md, but now there are lots. it's always easier to add than to take away, so prefer keeping it slim to what we need and add as needed.
  4. i see you've split up the frontpage readme into different sections. is the steady state to remove the front page readme and just link to the documentation? my preference is to have it only in one place, since editing it in two places is error prone
  5. can you change all the admonitions to the github style so it looks good even if someone stumbled on the docs from github?

Hey @terrykong,

Jennifer is out for the next few months and I'll be helping you with your docs.

  1. Moved!
  2. The makefile does use UV to install the deps from the docs group, so that should be in sync. I actually run into a lot of problems trying to run the targeted uv run --group docs sphinx-build . _build/html, are there hidden dependencies? Every time I try to troubleshoot, cursor recommends mucking around your pyproject.toml file.
cd docs/      
uv run --group docs sphinx-build . _build/html
  × Failed to download and build `deep-ep @ git+https://github.com/deepseek-ai/DeepEP.git@e3908bf5bd0cc6265bcb225d15cd8c996d4759ef`
  ╰─▶ Extra build requirement `torch` was declared with `match-runtime = true`, but `deep-ep` does not declare static metadata, making runtime-matching impossible
  1. I've simplified the Makefile by removing some of the commands we no longer need for a GitHub docs set. I've also added a check for make docs-live in case someone hasn't run make docs-env.
  2. The GitHub README and the root of your Sphinx site serve different purposes, so the ultimate goal is to tailor their content accordingly.
  3. I can look into this, but generally we should avoid hobbling Sphinx by limiting its syntax to GitHub flavored markdown -- it's standard in docs-as-code to have the github docs/ be the "raw code," and your rendered documentation site be the true front-end. Hugo, Sphinx, and MDX SSGs all provide extended syntax that doesn't render in GitHub but improves the usability of your docs site.

@github-actions
Copy link
Copy Markdown

❌ Submodule Fast-Forward Check Failed

Check based on commit: da8a451 (PR #1338 from jgerhold/about-section-only)

❌ Submodules that need attention:

Automodel: ❌ PR branch is BEHIND main branch
TARGET (main branch): https://github.com/NVIDIA-NeMo/Automodel/commits/a2db048383cd54b3fafc928df4c30bf7bbf7c430/
CURRENT (PR #1338 from jgerhold/about-section-only): https://github.com/NVIDIA-NeMo/Automodel/commits/277a8a8d951f6d8bf030d34915cfa61b88eebffd/

Megatron-Bridge: ❌ PR branch is BEHIND main branch
TARGET (main branch): https://github.com/NVIDIA-NeMo/Megatron-Bridge/commits/62f4704b8d665ac4a8c318a809a070217caa8901/
CURRENT (PR #1338 from jgerhold/about-section-only): https://github.com/NVIDIA-NeMo/Megatron-Bridge/commits/9d69624cb75e46f06ddfadd9a726acecfcf8b064/

Please ensure all submodule commits are fast-forwards of the main branch before merging.

@terrykong terrykong removed the r0.4.0 label Oct 28, 2025
@lbliii lbliii force-pushed the jgerhold/about-section-only branch from 4587f81 to 5eb41f9 Compare November 3, 2025 14:15
@lbliii lbliii requested a review from a team as a code owner November 3, 2025 14:15
Signed-off-by: Terry Kong <terryk@nvidia.com>
terrykong
terrykong previously approved these changes Nov 14, 2025
@terrykong
Copy link
Copy Markdown
Collaborator

@lbliii i fixed it in your branch. thank you for addressing and thanks @jgerh for starting this. let's merge this to unblock your next set of changes

Signed-off-by: Lawrence Lane <llane@nvidia.com>
@lbliii lbliii force-pushed the jgerhold/about-section-only branch from a7a307c to 9c211d8 Compare November 17, 2025 19:18
@lbliii lbliii added CI:docs Run doctest and removed CI:docs Run doctest labels Nov 17, 2025
@terrykong terrykong added CI:docs Run doctest and removed CI:docs Run doctest labels Nov 17, 2025
@terrykong terrykong enabled auto-merge (squash) November 17, 2025 20:32
@terrykong terrykong merged commit 74b9b17 into main Nov 17, 2025
38 of 39 checks passed
@terrykong terrykong deleted the jgerhold/about-section-only branch November 17, 2025 20:52
PrinsYin pushed a commit to PrinsYin/RL that referenced this pull request Nov 30, 2025
Signed-off-by: jgerh <jgerhold@nvidia.com>
Signed-off-by: Lawrence Lane <llane@nvidia.com>
Signed-off-by: Ashwath Aithal <aaithal@nvidia.com>
Signed-off-by: L.B. <llane@nvidia.com>
Signed-off-by: Terry Kong <terryk@nvidia.com>
Co-authored-by: Ashwath Aithal <aaithal@nvidia.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Lawrence Lane <llane@nvidia.com>
Co-authored-by: Wenwen Gao <94138584+snowmanwwg@users.noreply.github.com>
Co-authored-by: Terry Kong <terryk@nvidia.com>
DeL-TaiseiOzaki pushed a commit to DeL-TaiseiOzaki/RL that referenced this pull request Jan 8, 2026
Signed-off-by: jgerh <jgerhold@nvidia.com>
Signed-off-by: Lawrence Lane <llane@nvidia.com>
Signed-off-by: Ashwath Aithal <aaithal@nvidia.com>
Signed-off-by: L.B. <llane@nvidia.com>
Signed-off-by: Terry Kong <terryk@nvidia.com>
Co-authored-by: Ashwath Aithal <aaithal@nvidia.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Lawrence Lane <llane@nvidia.com>
Co-authored-by: Wenwen Gao <94138584+snowmanwwg@users.noreply.github.com>
Co-authored-by: Terry Kong <terryk@nvidia.com>
@coderabbitai coderabbitai Bot mentioned this pull request Jan 21, 2026
yuanhangsu1986 pushed a commit to yuanhangsu1986/RL-Nemontron-Edge-Omni that referenced this pull request Feb 21, 2026
Signed-off-by: jgerh <jgerhold@nvidia.com>
Signed-off-by: Lawrence Lane <llane@nvidia.com>
Signed-off-by: Ashwath Aithal <aaithal@nvidia.com>
Signed-off-by: L.B. <llane@nvidia.com>
Signed-off-by: Terry Kong <terryk@nvidia.com>
Co-authored-by: Ashwath Aithal <aaithal@nvidia.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Lawrence Lane <llane@nvidia.com>
Co-authored-by: Wenwen Gao <94138584+snowmanwwg@users.noreply.github.com>
Co-authored-by: Terry Kong <terryk@nvidia.com>
Signed-off-by: yuanhangs <yuanhangs@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:docs Run doctest Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants