Skip to content

[doc] Convert the remaining cluster and cluster/vms pages to MyST - #66681

Merged
dstrodtman merged 3 commits into
masterfrom
doc-1526-cluster-myst-remaining
Oct 5, 2026
Merged

dstrodtman merged 3 commits into
masterfrom
doc-1526-cluster-myst-remaining

Conversation

@dstrodtman

@dstrodtman dstrodtman commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

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

#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

dstrodtman and others added 2 commits October 2, 2026 15:38
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 dstrodtman added docs An issue or change related to documentation go add ONLY when ready to merge, run all tests labels Oct 2, 2026
@dstrodtman
dstrodtman marked this pull request as ready for review October 5, 2026 16:03
@dstrodtman
dstrodtman requested review from a team as code owners October 5, 2026 16:03

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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>`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

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)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Applied in aae5502.

Addresses gemini-code-assist review comments.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Douglas Strodtman <[email protected]>
@dstrodtman
dstrodtman merged commit b837d06 into master Oct 5, 2026
6 checks passed
@dstrodtman
dstrodtman deleted the doc-1526-cluster-myst-remaining branch October 5, 2026 19:06
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs An issue or change related to documentation go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants