Repository navigation
[doc] Convert the remaining cluster and cluster/vms pages to MyST - #66681
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]>
dstrodtman
marked this pull request as ready for review
October 5, 2026 16:03
Contributor
There was a problem hiding this comment.
Code Review
This pull request migrates several documentation files under doc/source/cluster/ from reStructuredText (.rst) to MyST Markdown (.md). The feedback points out an issue in doc/source/cluster/vms/getting-started.md where an RST-style link syntax was left unconverted, which would cause it to render as inline code instead of a hyperlink in Markdown.
|
|
||
| :::{tab-item} vSphere | ||
| :sync: vSphere | ||
| Make sure Ray supervisor service is up and running as per `the Ray-on-VCF docs <https://github-vcf.devops.broadcom.net/vcf/vmray>` |
Contributor
There was a problem hiding this comment.
The link to the Ray-on-VCF docs is formatted using backticks (RST-style link syntax), which in Markdown/MyST will render as inline code rather than a hyperlink. It should be converted to a standard Markdown link.
Suggested change
| Make sure Ray supervisor service is up and running as per `the Ray-on-VCF docs <https://github-vcf.devops.broadcom.net/vcf/vmray>` | |
| Make sure Ray supervisor service is up and running as per [the Ray-on-VCF docs](https://github-vcf.devops.broadcom.net/vcf/vmray) |
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
nadongjun
pushed a commit
to nadongjun/ray
that referenced
this pull request
Oct 6, 2026
…y-project#66681) ## Summary Converts nine more `doc/source/cluster/` pages from reStructuredText to MyST Markdown, as part of the ongoing RST-to-MyST migration of `doc/source/`: - `cluster/`: `cli`, `faq`, `package-overview`, and `usage-stats`. - `cluster/vms/`: `getting-started`, `references/ray-cluster-cli`, `user-guides/configuring-autoscaling`, `user-guides/large-cluster-best-practices`, and `user-guides/launching-clusters/index`. This is a format-only change, apart from the two link fixes noted below. The rendered pages should otherwise match `/en/master`. The PR has three 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`. 3. A review fix that turns the Ray-on-VCF reference into a link. ## Conversion notes - **Dead link fixed.** `vms/getting-started` linked `aliyun/example-full.yaml` twice with a root-relative target, `/ray/python/ray/autoscaler/aliyun/example-full.yaml`. That URL returns 404 on docs.ray.io, and in MyST the same target fails the build as an unresolved cross-reference. Both links now point at the file on GitHub. - **Ray-on-VCF link fixed.** The vSphere tab in `vms/getting-started` wrote the Ray-on-VCF docs link with single backticks and no trailing underscore, so `/en/master` renders it as interpreted text, not a link. It's now a Markdown link. - `cli`'s `click::` directives are wrapped in `{eval-rst}`, with each `ray-*-doc` label inside its block so it still targets the generated command section. This follows `serve/api/cli.md`. - The `parsed-literal` block in `vms/getting-started` stays in `{eval-rst}`. MyST parses a native `{parsed-literal}` body as inline Markdown, which strips the leading indentation on its lines. - `faq` has two headings with an apostrophe and no label. MyST slugs those differently from docutils, so each heading gets a target with its old id, and existing `#what-s-...` anchors keep working. - `faq`'s two indented error messages render as block quotes on `/en/master`, and they stay block quotes here. - Two list items in `large-cluster-best-practices` have continuation lines that start with `>`. Those are escaped so CommonMark doesn't read them as block quotes. - RST named hyperlink targets in `faq` and `package-overview` are inlined as Markdown links. `#.` auto-numbered lists in `usage-stats` become `1.`. Every label is preserved. Every external reference to these pages is a label or an extensionless path, so no caller needed an edit. None of the pages has doctest blocks, and `doc/BUILD.bazel` doesn't name them. ## Overlapping open PRs ray-project#66289 edits `vms/getting-started.rst` (22 lines) and `vms/user-guides/launching-clusters/index.rst` (7 lines). After this merges, those changes move to the `.md` files. ## Duplicate check No other open PR converts 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`: 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 9 pages render identically. The two diffs are the intended ones. On `faq`, the two apostrophe headings take MyST slugs, and the old `what-s-...` ids stay as anchors. On `vms/getting-started`, the two Aliyun links now point at GitHub. The review fix also makes the Ray-on-VCF reference on that page a link. 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]>
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 nine more
doc/source/cluster/pages from reStructuredText to MyST Markdown, as part of the ongoing RST-to-MyST migration ofdoc/source/:cluster/:cli,faq,package-overview, andusage-stats.cluster/vms/:getting-started,references/ray-cluster-cli,user-guides/configuring-autoscaling,user-guides/large-cluster-best-practices, anduser-guides/launching-clusters/index.This is a format-only change, apart from the two link fixes noted below. The rendered pages should otherwise match
/en/master.The PR has three commits:
.rst.ray-soft-wrap'sverify.py.Conversion notes
vms/getting-startedlinkedaliyun/example-full.yamltwice with a root-relative target,/ray/python/ray/autoscaler/aliyun/example-full.yaml. That URL returns 404 on docs.ray.io, and in MyST the same target fails the build as an unresolved cross-reference. Both links now point at the file on GitHub.vms/getting-startedwrote the Ray-on-VCF docs link with single backticks and no trailing underscore, so/en/masterrenders it as interpreted text, not a link. It's now a Markdown link.cli'sclick::directives are wrapped in{eval-rst}, with eachray-*-doclabel inside its block so it still targets the generated command section. This followsserve/api/cli.md.parsed-literalblock invms/getting-startedstays in{eval-rst}. MyST parses a native{parsed-literal}body as inline Markdown, which strips the leading indentation on its lines.faqhas two headings with an apostrophe and no label. MyST slugs those differently from docutils, so each heading gets a target with its old id, and existing#what-s-...anchors keep working.faq's two indented error messages render as block quotes on/en/master, and they stay block quotes here.large-cluster-best-practiceshave continuation lines that start with>. Those are escaped so CommonMark doesn't read them as block quotes.faqandpackage-overvieware inlined as Markdown links.#.auto-numbered lists inusage-statsbecome1..Every label is preserved. Every external reference to these pages is a label or an extensionless path, so no caller needed an edit. None of the pages has doctest blocks, and
doc/BUILD.bazeldoesn't name them.Overlapping open PRs
#66289 edits
vms/getting-started.rst(22 lines) andvms/user-guides/launching-clusters/index.rst(7 lines). After this merges, those changes move to the.mdfiles.Duplicate check
No other open PR converts 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.py: 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 9 pages render identically. The two diffs are the intended ones. Onfaq, the two apostrophe headings take MyST slugs, and the oldwhat-s-...ids stay as anchors. Onvms/getting-started, the two Aliyun links now point at GitHub. The review fix also makes the Ray-on-VCF reference on that page a link.AI assistance (Claude Code) was used for this conversion. I review every changed line before requesting review.
🤖 Generated with Claude Code