Skip to content

[doc] Convert the cluster YAML configuration reference to MyST - #66682

Merged
dstrodtman merged 4 commits into
masterfrom
doc-1526-cluster-myst-config-ref
Oct 5, 2026
Merged

dstrodtman merged 4 commits into
masterfrom
doc-1526-cluster-myst-config-ref

Conversation

@dstrodtman

@dstrodtman dstrodtman commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Converts doc/source/cluster/vms/references/ray-cluster-configuration.rst, the cluster launcher YAML reference, from reStructuredText to MyST Markdown, as part of the ongoing RST-to-MyST migration of doc/source/. It's the longest page in the cluster/ tree, with 2,028 lines, 37 tab sets, and 129 tab items, so it gets its own PR. This is a format-only change, apart from the typo fixes noted below. The rendered page 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.
  3. Keeping the block quote around the list-item code blocks.
  4. Review fixes for field-path typos.

Conversion notes

  • The tab sets are native sphinx-design colon fences. The source's 37 tab sets, 129 tab items, 88 labels, and 23 code blocks or literalincludes all appear in the .md.
  • The 22 parsed-literal syntax blocks stay in {eval-rst}. Their bodies are indented YAML-shaped text full of :ref: roles, and MyST parses a native {parsed-literal} body as inline Markdown, which would strip the indentation.
  • The field headings, such as `docker.head_image`, all carry explicit labels, so {ref} callers are unaffected. Their implicit heading ids follow MyST's slug rules, so a raw #docker-head-image-style anchor might change. No link in the repo uses one against the current docs. The only hits are a code comment in the vSphere provider and a link pinned to releases-2.48.0.
  • Five code blocks under list items are indented past the item's content column in the RST, so /en/master renders them in a block quote. They're kept in a block quote with a > prefix.
  • A word-level comparison of the .rst against the .md, after stripping markup, shows no dropped or changed text other than the typo fixes below.
  • Typos fixed. These predate this PR. The node types intro said available_nodes_types instead of available_node_types. Nine field headings had an extra .node_type. segment, such as available_node_types.<node_type_name>.node_type.resources. The paths now match the keys in python/ray/autoscaler/ray-schema.json. The object-store-memory heading is now object_store_memory, matching the field list. One Importance: low is now Low, like the other 40. Every renamed heading has an explicit label, so {ref} callers are unaffected.

Overlapping open PRs

#66289 (OCI node provider) adds about 99 lines to this file. After this merges, that change moves to ray-cluster-configuration.md.

Duplicate check

No other open PR converts this file. I checked every open PR's file list.

Testing

  • Static checks: frontmatter parses, fences balance, no residual RST outside fences, 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 fixes. The rebuild for the latest commit is pending.
  • render_diff.py against /en/master, run before the review fixes: the page renders identically. The typo fixes intentionally change the affected headings and text.

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:40
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 the docs An issue or change related to documentation label Oct 2, 2026
These code blocks are indented past their list item's content column in
the RST, so docutils renders them inside a block quote. Reproduce that.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Douglas Strodtman <[email protected]>
@dstrodtman dstrodtman added the go add ONLY when ready to merge, run all tests label Oct 5, 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 the Ray cluster YAML configuration reference documentation from RST format to Markdown (MyST). The review feedback identifies several typos and incorrect heading paths in the newly added Markdown file, specifically pointing out an extra .node_type. segment in multiple configuration paths, a typo in available_nodes_types, and a hyphen instead of an underscore in object_store_memory. Additionally, a minor formatting inconsistency regarding the capitalization of the 'Importance' field is noted.


### Node types

The `available_nodes_types` object's keys represent the names of the different node types.

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

Typo in the field name: available_nodes_types should be available_node_types.

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 f42a2d4.


(cluster-configuration-node-config)=

### `available_node_types.<node_type_name>.node_type.node_config`

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 heading path contains an extra .node_type. segment. The correct path is available_node_types.<node_type_name>.node_config.

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 f42a2d4.


(cluster-configuration-resources)=

### `available_node_types.<node_type_name>.node_type.resources`

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 heading path contains an extra .node_type. segment. The correct path is available_node_types.<node_type_name>.resources.

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 f42a2d4.


(cluster-configuration-node-min-workers)=

### `available_node_types.<node_type_name>.node_type.min_workers`

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 heading path contains an extra .node_type. segment. The correct path is available_node_types.<node_type_name>.min_workers.

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 f42a2d4.


(cluster-configuration-node-max-workers)=

### `available_node_types.<node_type_name>.node_type.max_workers`

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 heading path contains an extra .node_type. segment. The correct path is available_node_types.<node_type_name>.max_workers.

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 f42a2d4.

A list of commands to run to set up worker nodes of this type. These commands will replace the general {ref}`worker setup commands <cluster-configuration-worker-setup-commands>` for the node.

* **Required:** No
* **Importance:** low

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

Capitalize 'low' to 'Low' to maintain consistency with other fields.

Suggested change
* **Importance:** low
* **Importance:** Low

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 f42a2d4.


(cluster-configuration-cpu)=

### `available_node_types.<node_type_name>.node_type.resources.CPU`

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 heading path contains an extra .node_type. segment. The correct path is available_node_types.<node_type_name>.resources.CPU.

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 f42a2d4.

(cluster-configuration-gpu)=

### `available_node_types.<node_type_name>.node_type.resources.GPU`

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 heading path contains an extra .node_type. segment. The correct path is available_node_types.<node_type_name>.resources.GPU.

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 f42a2d4.

(cluster-configuration-memory)=

### `available_node_types.<node_type_name>.node_type.resources.memory`

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 heading path contains an extra .node_type. segment. The correct path is available_node_types.<node_type_name>.resources.memory.

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 f42a2d4.


(cluster-configuration-object-store-memory)=

### `available_node_types.<node_type_name>.node_type.resources.object-store-memory`

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 heading path contains an extra .node_type. segment and uses a hyphen instead of an underscore for object_store_memory. The correct path is available_node_types.<node_type_name>.resources.object_store_memory.

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 f42a2d4, with both the .node_type. segment and object_store_memory fixed.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

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 6d327db into master Oct 5, 2026
6 checks passed
@dstrodtman
dstrodtman deleted the doc-1526-cluster-myst-config-ref branch October 5, 2026 19:07
nadongjun pushed a commit to nadongjun/ray that referenced this pull request Oct 6, 2026
…roject#66682)

## Summary

Converts
`doc/source/cluster/vms/references/ray-cluster-configuration.rst`, the
cluster launcher YAML reference, from reStructuredText to MyST Markdown,
as part of the ongoing RST-to-MyST migration of `doc/source/`. It's the
longest page in the `cluster/` tree, with 2,028 lines, 37 tab sets, and
129 tab items, so it gets its own PR. This is a format-only change,
apart from the typo fixes noted below. The rendered page 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`.
3. Keeping the block quote around the list-item code blocks.
4. Review fixes for field-path typos.

## Conversion notes

- The tab sets are native sphinx-design colon fences. The source's 37
tab sets, 129 tab items, 88 labels, and 23 code blocks or
literalincludes all appear in the `.md`.
- The 22 `parsed-literal` syntax blocks stay in `{eval-rst}`. Their
bodies are indented YAML-shaped text full of `:ref:` roles, and MyST
parses a native `{parsed-literal}` body as inline Markdown, which would
strip the indentation.
- The field headings, such as `` `docker.head_image` ``, all carry
explicit labels, so `{ref}` callers are unaffected. Their implicit
heading ids follow MyST's slug rules, so a raw
`#docker-head-image`-style anchor might change. No link in the repo uses
one against the current docs. The only hits are a code comment in the
vSphere provider and a link pinned to `releases-2.48.0`.
- Five code blocks under list items are indented past the item's content
column in the RST, so `/en/master` renders them in a block quote.
They're kept in a block quote with a `> ` prefix.
- A word-level comparison of the `.rst` against the `.md`, after
stripping markup, shows no dropped or changed text other than the typo
fixes below.
- **Typos fixed.** These predate this PR. The node types intro said
`available_nodes_types` instead of `available_node_types`. Nine field
headings had an extra `.node_type.` segment, such as
`available_node_types.<node_type_name>.node_type.resources`. The paths
now match the keys in `python/ray/autoscaler/ray-schema.json`. The
`object-store-memory` heading is now `object_store_memory`, matching the
field list. One `Importance: low` is now `Low`, like the other 40. Every
renamed heading has an explicit label, so `{ref}` callers are
unaffected.

## Overlapping open PRs

ray-project#66289 (OCI node provider) adds about 99 lines to this file. After this
merges, that change moves to `ray-cluster-configuration.md`.

## Duplicate check

No other open PR converts this file. I checked every open PR's file
list.

## Testing

- Static checks: frontmatter parses, fences balance, no residual RST
outside fences, 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
fixes. The rebuild for the latest commit is pending.
- `render_diff.py` against `/en/master`, run before the review fixes:
the page renders identically. The typo fixes intentionally change the
affected headings and text.

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