Skip to content

docs: avoid hard-wrapped sentences in documentation - #5211

Merged
terrykong merged 2 commits into
mainfrom
yukih/docs-avoid-hard-wrapping
Nov 13, 2026
Merged

terrykong merged 2 commits into
mainfrom
yukih/docs-avoid-hard-wrapping

Conversation

@yuki-97

@yuki-97 yuki-97 commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do ?

The only substantive change is to skills/contributing/references/comments-docstrings-and-docs.md. All other changes are formatting only. No runtime behavior change.

What changed

1. Clarify the documentation wrapping rule. Avoid hard-wrapping documentation sentences to a fixed line length; preserve existing breaks between complete sentences, Markdown structure, and code formatting.

2. Apply the rule across existing documentation. Unwrap hard-wrapped sentences without changing wording or content.

@yuki-97 yuki-97 added the CI:docs Run doctest label Nov 13, 2026
@copy-pr-bot

copy-pr-bot Bot commented Nov 13, 2026

Copy link
Copy Markdown

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.

@github-actions github-actions Bot added the Documentation Improvements or additions to documentation label Nov 13, 2026
@terrykong
terrykong enabled auto-merge (squash) November 13, 2026 18:27
@terrykong

Copy link
Copy Markdown
Collaborator

/ok to test fcb6dd1

@terrykong
terrykong merged commit 8b8cc8c into main Nov 13, 2026
50 checks passed
@terrykong
terrykong deleted the yukih/docs-avoid-hard-wrapping branch November 13, 2026 19:14
jthomson04 added a commit to jthomson04/RL that referenced this pull request Nov 14, 2026
…-gym

Conflicts:
- nemo_rl/models/generation/vllm/vllm_worker_async.py: main's vLLM 0.33
  changes to the chat handler (the load_chat_template import, and hiding
  parallel_tool_calls=False from the parser) are applied in chat_server.py,
  where this branch moved that code.
- tests/unit/models/generation/test_vllm_generation.py: both sides'
  imports. Main's new parallel_tool_calls test calls the shared render
  step.
- tests/unit/environments/test_nemo_gym.py: this branch's server refuses
  logprobs without top_logprobs on both serving paths, so its assertions
  stay. The docstring no longer says what vLLM returns for a null, which
  0.33 changed.
- docs/guides/dynamo-generation.md, docs/design-docs/dynamo-integration.md:
  this branch's text, with sentences unwrapped as NVIDIA-NeMo#5211 did on main.
- uv.lock: main's lock plus this branch's Gym dependencies (openai 2.45.0,
  tiktoken).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Signed-off-by: jthomson04 <[email protected]>
yfw added a commit that referenced this pull request Nov 21, 2026
…kind-advantages

Brings in main 939890a (94 commits). Conflicts, all keeping both sides:

- rollout_recovery.py: main's ledger is at schema 8 (6: turn-level
  recovery, 7: taskset attribution, 8: steps_allowed_short), so the
  sealed failure_kind moves from 6 to 9; schemas 2 to 8 still load,
  with failure_kind=None. The failure_kind check sits next to main's
  attribution_key check.
- rollout_manager.py: main's imports plus Collection; main's
  mask_sample_flagged() next to the failure_kind read.
- docs/guides/grpo.md: main unwrapped the guide's sentences (#5211);
  the exclude_infra text follows that style.
- test_grpo.py: main removed the masked_reward_policy default test
  under its testing rules (#5009); the exclude_infra behaviour tests
  stay.
- test_rollouts.py, test_single_controller_actor.py,
  test_rollout_reassembler_actor.py: both sides' tests and fields.
- test_rollout_manager.py: generate_for_finalization now returns
  (request, rollout_metrics).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Yi-Fu Wu <[email protected]>
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.

2 participants