Repository navigation
[doc] Convert the community cluster manager pages to MyST - #66678
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
Whitespace only, verified by ray-soft-wrap's verify.py. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
MyST parses directive options as YAML, so an unquoted '# Head service' value reads as a comment and the option ends up empty. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
Contributor
There was a problem hiding this comment.
Code Review
This pull request migrates the community-supported cluster manager documentation from reStructuredText (.rst) to MyST Markdown (.md). The review feedback addresses minor formatting and rendering inconsistencies resulting from the migration, such as a broken sentence structure in index.md and non-standard list syntax in spark.md. It is recommended to apply the suggested standard Markdown list formatting and fix the sentence splitting to ensure clean rendering.
Addresses gemini-code-assist review comments. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
ronny-anyscale
approved these changes
Oct 5, 2026
dstrodtman
added a commit
that referenced
this pull request
Oct 5, 2026
## Why are these changes needed? The docs build on master is failing, and so is every docs PR preview, with a single warning (example: [master build 4526885](https://app.readthedocs.com/projects/anyscale-ray/builds/4526885/)): ``` doc/source/_includes/_help.rst: WARNING: document isn't included in any toctree [toc.not_included] ``` #66678 converted the YARN page to MyST and switched its include from `/_includes/_help.rst` to the existing Markdown copy, `/_includes/_help-links.md`. YARN was the last page that included `_help.rst`, so the file is now orphaned. `fail_on_warning: true` in `.readthedocs.yaml` turns the warning into a build failure. `_help-links.md` carries the same four help links with the same text, and every page that showed them now includes it. This PR deletes the orphaned RST copy. ## Verification - `grep -rn "_help.rst" doc/ ci/ .buildkite/ .readthedocs.yaml` returns no references. - This PR's own Read the Docs preview build confirms the warning is gone. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
nadongjun
pushed a commit
to nadongjun/ray
that referenced
this pull request
Oct 6, 2026
…t#66678) ## Summary Converts the seven `doc/source/cluster/vms/user-guides/community/` pages (index, YARN, Slurm and its three script stubs, LSF, Spark) from reStructuredText to MyST Markdown, as part of the ongoing RST-to-MyST migration of `doc/source/`. This is a format-only change, apart from the one rendering fix noted below. The rendered pages should otherwise match `/en/master`. The PR has four commits: 1. The conversion, which keeps the source line wrapping so it reads line by line against the `.rst`. 2. A whitespace-only soft-wrap pass, verified by `ray-soft-wrap`'s `verify.py` (content, render, and idempotence checks all pass). 3. Quoting the `literalinclude` markers that start with `#`. 4. A review fix that joins `index`'s last sentence back into one paragraph. ## Conversion notes - RST named hyperlink targets (`` `YASPI`_ `` plus a `.. _YASPI: url` definition) are inlined as Markdown links in `lsf`, `slurm`, and `yarn`. - `yarn`'s link to its own `Questions or Issues?` section becomes a `#questions-or-issues` fragment, which is the same anchor as before. - `yarn` included `/_includes/_help.rst`. It now includes the existing Markdown copy, `/_includes/_help-links.md`, as `memory-management.md`, `ray-oom-prevention.md`, and `tune/key-concepts.md` already do. - **Rendering fix.** `index`'s last sentence renders as a definition list on `/en/master`, because its second line is indented by accident. It's joined into one paragraph here. - `spark`'s `1)` lines are followed by an unindented line, so docutils renders them as paragraph text, not list items. They're escaped (`1\)`) to keep that rendering. - The `literalinclude` markers in `yarn` that start with `#` (`# Head service`) are quoted. MyST parses directive options as YAML, so an unquoted value reads as a comment. - The Spark API section's `autofunction` directives are wrapped in `{eval-rst}`. Every label is preserved. Every external reference to these pages is an extensionless `{doc}` path or a label, so no caller needed an edit. None of the pages has doctest blocks, and `doc/BUILD.bazel` doesn't name them. ## Duplicate check No open PR edits any of these files. I checked every open PR's file list. ## Testing - Static checks on each new `.md`: frontmatter parses, fences balance, no residual RST outside fences, no `.html#` or `.rst` link targets, every label present. - `python3 doc/.claude/skills/ray-soft-wrap/scripts/verify.py` on all 8 files: passed. - RtD preview build: green under `fail_on_warning` before the review fix. The rebuild for the latest commit is pending. - `render_diff.py` against `/en/master`, run before the review fix: 7 of 8 pages render identically. On `community/index`, the definition list's `<dl>` gained MyST's unstyled `myst` class. The review fix then replaced that definition list with a paragraph, which is the one intended difference on that page. AI assistance (Claude Code) was used for this conversion. I review every changed line before requesting review. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
nadongjun
pushed a commit
to nadongjun/ray
that referenced
this pull request
Oct 6, 2026
## Why are these changes needed? The docs build on master is failing, and so is every docs PR preview, with a single warning (example: [master build 4526885](https://app.readthedocs.com/projects/anyscale-ray/builds/4526885/)): ``` doc/source/_includes/_help.rst: WARNING: document isn't included in any toctree [toc.not_included] ``` ray-project#66678 converted the YARN page to MyST and switched its include from `/_includes/_help.rst` to the existing Markdown copy, `/_includes/_help-links.md`. YARN was the last page that included `_help.rst`, so the file is now orphaned. `fail_on_warning: true` in `.readthedocs.yaml` turns the warning into a build failure. `_help-links.md` carries the same four help links with the same text, and every page that showed them now includes it. This PR deletes the orphaned RST copy. ## Verification - `grep -rn "_help.rst" doc/ ci/ .buildkite/ .readthedocs.yaml` returns no references. - This PR's own Read the Docs preview build confirms the warning is gone. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Converts the seven
doc/source/cluster/vms/user-guides/community/pages (index, YARN, Slurm and its three script stubs, LSF, Spark) from reStructuredText to MyST Markdown, as part of the ongoing RST-to-MyST migration ofdoc/source/. This is a format-only change, apart from the one rendering fix noted below. The rendered pages should otherwise match/en/master.The PR has four commits:
.rst.ray-soft-wrap'sverify.py(content, render, and idempotence checks all pass).literalincludemarkers that start with#.index's last sentence back into one paragraph.Conversion notes
`YASPI`_plus a.. _YASPI: urldefinition) are inlined as Markdown links inlsf,slurm, andyarn.yarn's link to its ownQuestions or Issues?section becomes a#questions-or-issuesfragment, which is the same anchor as before.yarnincluded/_includes/_help.rst. It now includes the existing Markdown copy,/_includes/_help-links.md, asmemory-management.md,ray-oom-prevention.md, andtune/key-concepts.mdalready do.index's last sentence renders as a definition list on/en/master, because its second line is indented by accident. It's joined into one paragraph here.spark's1)lines are followed by an unindented line, so docutils renders them as paragraph text, not list items. They're escaped (1\)) to keep that rendering.literalincludemarkers inyarnthat start with#(# Head service) are quoted. MyST parses directive options as YAML, so an unquoted value reads as a comment.autofunctiondirectives are wrapped in{eval-rst}.Every label is preserved. Every external reference to these pages is an extensionless
{doc}path or a label, so no caller needed an edit. None of the pages has doctest blocks, anddoc/BUILD.bazeldoesn't name them.Duplicate check
No open PR edits any of these files. I checked every open PR's file list.
Testing
.md: frontmatter parses, fences balance, no residual RST outside fences, no.html#or.rstlink targets, every label present.python3 doc/.claude/skills/ray-soft-wrap/scripts/verify.pyon all 8 files: passed.fail_on_warningbefore the review fix. The rebuild for the latest commit is pending.render_diff.pyagainst/en/master, run before the review fix: 7 of 8 pages render identically. Oncommunity/index, the definition list's<dl>gained MyST's unstyledmystclass. The review fix then replaced that definition list with a paragraph, which is the one intended difference on that page.AI assistance (Claude Code) was used for this conversion. I review every changed line before requesting review.
🤖 Generated with Claude Code