Repository navigation
[docs] Lowercase "Ray dashboard" across the docs - #65468
Conversation
…ST (#65470) ## Why are these changes needed? MyST Markdown is the standard for Ray doc pages, and a lint check already rejects newly-added `.rst`. This is the second batch of the conversion of the existing hand-written prose under `doc/source/`, following #65467. The batch is the seven library front-door pages. They share one pattern: a `grid` of `grid-item-card`s, some `tab-set`s, `literalinclude` pulls, and a `toctree`. 1,889 lines, and 18% of all `.rst` page views over the last 90 days. | File | Lines | Constructs | | --- | --- | --- | | `tune/index.rst` | 299 | 3 tabs, 6 cards, 3 literalinclude, `callout`/`annotations` | | `ray-core/walkthrough.rst` | 132 | 3 cards, 4 literalinclude | | `data/data.rst` | 187 | 5 cards, 1 testcode | | `train/train.rst` | 233 | 10 cards, nested `div`, `raw:: html :file:` | | `ray-overview/installation.rst` | 548 | 2 tab-sets, 3 tables, 20 named link targets | | `ray-overview/ray-libraries.rst` | 378 | 17 cards | | `cluster/getting-started.rst` | 112 | 4 cards | The conversion is format-only. Every label name, `toctree` entry, directive, and prose line is preserved, so the rendered HTML should be unchanged. No URLs change: Sphinx maps `foo.rst` and `foo.md` to the same `foo.html`. Unlike #65467, this batch needs no CI or `BUILD.bazel` changes. None of the seven files is named in `doc/BUILD.bazel`, in a `.buildkite` rules fixture, or in `ci/ray_ci/doc`. `data/data.rst`'s one real `testcode`/`testoutput` pair stays covered by the `data` doctest rule's `source/**/*.md` glob. ## Card grids convert to native MyST Every card grid already in a `.md` page (`cluster/vms/index.md`, `cluster/kubernetes/index.md`, `ray-overview/index.md`, `serve/index.md`) is wrapped in `{eval-rst}` and left as RST. This batch uses native MyST fences instead: ```markdown ::::{grid} 1 2 2 2 :gutter: 1 :::{grid-item-card} **Title** ^^^ Body text. +++ ```{button-ref} some-label :color: primary Button text ``` ::: :::: ``` sphinx-design supports MyST first-class — its own docs are MyST and it ships a `snippets/myst/` tree. The `^^^` and `+++` separators are matched by `REGEX_HEADER`/`REGEX_FOOTER` and split out of the raw content lines before anything parses them, so they're format-agnostic. `GridDirective` and `GridItemCardDirective` are ordinary docutils directives registered through `app.add_directive`, which MyST dispatches exactly the way it already dispatches `{tab-set}` in a dozen `.md` pages today. The one thing to know: these directives call `self.state.nested_parse`, so under MyST their content parses as **Markdown**. Any RST left inside a native card renders as literal text instead of erroring. That's why the nested `button-ref`/`button-link`/`image`/`figure` directives all convert too, and it's the specific thing the render diff below was run to confirm. A follow-up PR converts the four existing `{eval-rst}`-wrapped grids so the tree ends up with one pattern rather than two. ## Conversions worth a second look - **`installation.rst`'s nightly-wheel table becomes a `{list-table}`.** It's a `====`-delimited RST simple table whose cells are named-target references. Keeping it as RST inside `{eval-rst}` was the first attempt and it silently broke all eight Linux wheel links, which resolved as internal anchors instead of the S3 URLs; see the verification comment. Inlining the URLs into the simple table isn't possible either, because cell text longer than the column ruler breaks it. So it becomes a `{list-table}` with `:widths: auto`, matching the MacOS and Windows tabs that were already list-tables. The page render-diffs identical. - **`tune/index.rst` had two link forms that don't survive transcription.** `` `Ray Serve`_ `` pointed at `../serve/index.html`, a relative `.html` URL that renders in RST but is a cross-reference target under MyST; it becomes `` {doc}`Ray Serve </serve/index>` ``. Separately, `` `terminating bad runs early <tune-scheduler-hyperband>`_ `` is an RST *external* link to a bare label name, so today it renders as `<a href="tune-scheduler-hyperband">` — a dead relative URL. Sibling lines in the same paragraph use `:ref:` for the same targets, so it becomes `{ref}`. **That is a deliberate rendering change and the one place the diff below is not empty.** Happy to keep the dead link if you'd rather this PR stay strictly format-only. - **`tune/index.rst` is the only file in the tree using the `callout` and `annotations` directives** (`doc/source/_ext/callouts.py`). Both `nested_parse`, so their content is now Markdown; the `<1>`/`<2>` annotation markers are literal text under both parsers. - **`train/train.rst`'s logo block** nests `div` inside `div` around a `raw:: html` with a `:file:` option. It converts to nested colon fences with a `{raw}` fence inside. - **`ray-overview/getting-started.md` linked to `../tune/index.rst`**, which would dangle after the rename. It becomes a `{doc}` reference. ## Verification - Static checks pass on all seven files: frontmatter parses, backtick and colon fences balance at every width, all 14 labels preserved, no residual RST outside fences, no `.rst`/`.html#` link forms, `testcode`/`testoutput` counts match the originals. - Read the Docs preview green under `fail_on_warning: true`, and `buildkite/microcheck` green. - `render_diff.py` against `/en/master`: 4 of 7 pages identical, 3 differing intentionally. **Full results, including three regressions the diff caught that the green build did not, are in [this comment](#65470 (comment) ## Not a duplicate `gh pr list --repo ray-project/ray --state open` shows no other PR touching these seven files or this conversion, other than #65468, which changes six lines inside `installation.rst`'s extras table. Whichever lands first, the other rebases. ## Related issue number Part of the ongoing RST-to-MyST conversion of `doc/source/`, following #65467. Subsequent batches follow the same traffic-weighted ordering. AI assistance was used to prepare this change. ## Checks - [x] I've signed off every commit (`git commit -s`). - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [x] I've included any doc changes needed for the change. - [x] Testing strategy - [x] Unit tests: not applicable; no `BUILD.bazel` or CI wiring changes in this batch. - [x] Release tests: not applicable. - [x] This PR is not tested (please justify below): the decisive checks for a conversion are the RtD preview build under `fail_on_warning: true` and the rendered diff against `/en/master`, both listed above. --------- Signed-off-by: Douglas Strodtman <[email protected]>
d7fd018 to
1f911f8
Compare
There was a problem hiding this comment.
Code Review
This pull request standardizes the documentation by changing "Ray Dashboard" to lowercase "Ray dashboard" across numerous Markdown and reStructuredText files. The review feedback is highly constructive, pointing out a grammatical error ("must only allows"), an inconsistent capitalization ("dashboard Agent"), and an extra space in the modified sections, all of which are accompanied by actionable code suggestions.
…ST (ray-project#65470) ## Why are these changes needed? MyST Markdown is the standard for Ray doc pages, and a lint check already rejects newly-added `.rst`. This is the second batch of the conversion of the existing hand-written prose under `doc/source/`, following ray-project#65467. The batch is the seven library front-door pages. They share one pattern: a `grid` of `grid-item-card`s, some `tab-set`s, `literalinclude` pulls, and a `toctree`. 1,889 lines, and 18% of all `.rst` page views over the last 90 days. | File | Lines | Constructs | | --- | --- | --- | | `tune/index.rst` | 299 | 3 tabs, 6 cards, 3 literalinclude, `callout`/`annotations` | | `ray-core/walkthrough.rst` | 132 | 3 cards, 4 literalinclude | | `data/data.rst` | 187 | 5 cards, 1 testcode | | `train/train.rst` | 233 | 10 cards, nested `div`, `raw:: html :file:` | | `ray-overview/installation.rst` | 548 | 2 tab-sets, 3 tables, 20 named link targets | | `ray-overview/ray-libraries.rst` | 378 | 17 cards | | `cluster/getting-started.rst` | 112 | 4 cards | The conversion is format-only. Every label name, `toctree` entry, directive, and prose line is preserved, so the rendered HTML should be unchanged. No URLs change: Sphinx maps `foo.rst` and `foo.md` to the same `foo.html`. Unlike ray-project#65467, this batch needs no CI or `BUILD.bazel` changes. None of the seven files is named in `doc/BUILD.bazel`, in a `.buildkite` rules fixture, or in `ci/ray_ci/doc`. `data/data.rst`'s one real `testcode`/`testoutput` pair stays covered by the `data` doctest rule's `source/**/*.md` glob. ## Card grids convert to native MyST Every card grid already in a `.md` page (`cluster/vms/index.md`, `cluster/kubernetes/index.md`, `ray-overview/index.md`, `serve/index.md`) is wrapped in `{eval-rst}` and left as RST. This batch uses native MyST fences instead: ```markdown ::::{grid} 1 2 2 2 :gutter: 1 :::{grid-item-card} **Title** ^^^ Body text. +++ ```{button-ref} some-label :color: primary Button text ``` ::: :::: ``` sphinx-design supports MyST first-class — its own docs are MyST and it ships a `snippets/myst/` tree. The `^^^` and `+++` separators are matched by `REGEX_HEADER`/`REGEX_FOOTER` and split out of the raw content lines before anything parses them, so they're format-agnostic. `GridDirective` and `GridItemCardDirective` are ordinary docutils directives registered through `app.add_directive`, which MyST dispatches exactly the way it already dispatches `{tab-set}` in a dozen `.md` pages today. The one thing to know: these directives call `self.state.nested_parse`, so under MyST their content parses as **Markdown**. Any RST left inside a native card renders as literal text instead of erroring. That's why the nested `button-ref`/`button-link`/`image`/`figure` directives all convert too, and it's the specific thing the render diff below was run to confirm. A follow-up PR converts the four existing `{eval-rst}`-wrapped grids so the tree ends up with one pattern rather than two. ## Conversions worth a second look - **`installation.rst`'s nightly-wheel table becomes a `{list-table}`.** It's a `====`-delimited RST simple table whose cells are named-target references. Keeping it as RST inside `{eval-rst}` was the first attempt and it silently broke all eight Linux wheel links, which resolved as internal anchors instead of the S3 URLs; see the verification comment. Inlining the URLs into the simple table isn't possible either, because cell text longer than the column ruler breaks it. So it becomes a `{list-table}` with `:widths: auto`, matching the MacOS and Windows tabs that were already list-tables. The page render-diffs identical. - **`tune/index.rst` had two link forms that don't survive transcription.** `` `Ray Serve`_ `` pointed at `../serve/index.html`, a relative `.html` URL that renders in RST but is a cross-reference target under MyST; it becomes `` {doc}`Ray Serve </serve/index>` ``. Separately, `` `terminating bad runs early <tune-scheduler-hyperband>`_ `` is an RST *external* link to a bare label name, so today it renders as `<a href="tune-scheduler-hyperband">` — a dead relative URL. Sibling lines in the same paragraph use `:ref:` for the same targets, so it becomes `{ref}`. **That is a deliberate rendering change and the one place the diff below is not empty.** Happy to keep the dead link if you'd rather this PR stay strictly format-only. - **`tune/index.rst` is the only file in the tree using the `callout` and `annotations` directives** (`doc/source/_ext/callouts.py`). Both `nested_parse`, so their content is now Markdown; the `<1>`/`<2>` annotation markers are literal text under both parsers. - **`train/train.rst`'s logo block** nests `div` inside `div` around a `raw:: html` with a `:file:` option. It converts to nested colon fences with a `{raw}` fence inside. - **`ray-overview/getting-started.md` linked to `../tune/index.rst`**, which would dangle after the rename. It becomes a `{doc}` reference. ## Verification - Static checks pass on all seven files: frontmatter parses, backtick and colon fences balance at every width, all 14 labels preserved, no residual RST outside fences, no `.rst`/`.html#` link forms, `testcode`/`testoutput` counts match the originals. - Read the Docs preview green under `fail_on_warning: true`, and `buildkite/microcheck` green. - `render_diff.py` against `/en/master`: 4 of 7 pages identical, 3 differing intentionally. **Full results, including three regressions the diff caught that the green build did not, are in [this comment](ray-project#65470 (comment) ## Not a duplicate `gh pr list --repo ray-project/ray --state open` shows no other PR touching these seven files or this conversion, other than ray-project#65468, which changes six lines inside `installation.rst`'s extras table. Whichever lands first, the other rebases. ## Related issue number Part of the ongoing RST-to-MyST conversion of `doc/source/`, following ray-project#65467. Subsequent batches follow the same traffic-weighted ordering. AI assistance was used to prepare this change. ## Checks - [x] I've signed off every commit (`git commit -s`). - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [x] I've included any doc changes needed for the change. - [x] Testing strategy - [x] Unit tests: not applicable; no `BUILD.bazel` or CI wiring changes in this batch. - [x] Release tests: not applicable. - [x] This PR is not tested (please justify below): the decisive checks for a conversion are the RtD preview build under `fail_on_warning: true` and the rendered diff against `/en/master`, both listed above. --------- Signed-off-by: Douglas Strodtman <[email protected]> Signed-off-by: 400Ping <[email protected]>
|
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
"Dashboard" is a generic noun, so it stays lowercase next to a product name for the same reason "autoscaler" does. Applies the convention settled in Prose only: 53 replacements across 14 pages, covering body text, headings, front matter descriptions, table cells, image alt text, and link text. Eight uses inside fenced code blocks and one in a YAML sample stay as they are, since the rule governs prose and those strings are shell comments or program output. One adjacent fix on a line this change already touches: the alt text on kuberay-dashboard.md read "KubeRay dashboard List of RayJobs" after the swap, so "List" lowercases too. Verified with Vale 3.12.0 using the ruleset from ray-project#65239: the two dashboard swaps go from 44 alerts to 0 on these paths, with no other check affected. Signed-off-by: Douglas Strodtman <[email protected]>
Extends the sweep from the Ray on Kubernetes pages to all of doc/source, so the convention holds on every surface rather than only where the Vale ruleset happens to be scoped. 109 further replacements across 35 pages in ray-observability, serve, ray-core, train, ray-security, ray-overview, cluster, data, rllib, and ray-references. Prose only, including headings, front matter and meta descriptions, glossary terms, link and cross-reference text, and image alt text. Every replacement is length-preserving, so rST title underlines stay valid. Six adjacent lines change beyond the term itself, because lowercasing one word of an otherwise title-case heading looks like a botched edit rather than a convention: - "Configuring and Managing Ray Dashboard" becomes sentence case, along with the two link texts and one cross-reference that mirror that page title. - "Ray Dashboard View" and "Ray Dashboard Flow" become sentence case. Nine uses inside literal blocks stay as they are, since the rule governs prose: eight shell comments and one line of literal CLI output. Verified that no reference anywhere in the repo depends on the old heading strings, and that no rST title underline is now short. Vale, running the ruleset from ray-project#65239, reports 0 dashboard alerts on the paths it scopes, and doc/source/data/ holds at 170. Signed-off-by: Douglas Strodtman <[email protected]>
The two previous commits lowercased "Ray Dashboard" but left the bare "Dashboard" alone, which put "the Dashboard" next to "the Ray dashboard" on the same pages. Same rule, same generic noun, so this finishes the job. Covers 54 uses. Most are a pure case change. Fifteen needed more than that, because the prose used "Dashboard" as a bare proper noun where English wants an article: "expose Dashboard outside the Cluster" becomes "expose the dashboard outside the Cluster", and three sentences that opened with a bare "Dashboard is..." become "The dashboard is...". The installation extras table listed "Core, Dashboard, Cluster Launcher" among Ray library names, where a bare lowercase "dashboard" would read as a common noun in a list of proper ones. Those rows now say "Ray dashboard", and the tip below the table matches. Left capitalized, since these aren't the generic noun: - CloudWatch Agent, Dashboard, and Alarm config files, which name CloudWatch artifacts, along with Grafana's Dashboard and Default Dashboard. - The literal Open Dashboard button label in the History Server UI. - Title and label positions where any word capitalizes: the "Dashboard (Web UI)" section title, a "Dashboard" tab label, and a "**Dashboard**" list label. - Twelve uses inside literal blocks, including a line of dashboard log output. One rST underline needed extending, because "Set up Dashboard" grew by four characters when it became "Set up the dashboard". Verified against master that this change introduces no other short underline. Signed-off-by: Douglas Strodtman <[email protected]>
Fix a pre-existing grammar error ('must only allows'), make
'dashboard agent' lowercase for consistency with the casing sweep,
and remove a stray double space.
Signed-off-by: Douglas Strodtman <[email protected]>
1f911f8 to
3cebd7b
Compare
…ST (ray-project#65470) ## Why are these changes needed? MyST Markdown is the standard for Ray doc pages, and a lint check already rejects newly-added `.rst`. This is the second batch of the conversion of the existing hand-written prose under `doc/source/`, following ray-project#65467. The batch is the seven library front-door pages. They share one pattern: a `grid` of `grid-item-card`s, some `tab-set`s, `literalinclude` pulls, and a `toctree`. 1,889 lines, and 18% of all `.rst` page views over the last 90 days. | File | Lines | Constructs | | --- | --- | --- | | `tune/index.rst` | 299 | 3 tabs, 6 cards, 3 literalinclude, `callout`/`annotations` | | `ray-core/walkthrough.rst` | 132 | 3 cards, 4 literalinclude | | `data/data.rst` | 187 | 5 cards, 1 testcode | | `train/train.rst` | 233 | 10 cards, nested `div`, `raw:: html :file:` | | `ray-overview/installation.rst` | 548 | 2 tab-sets, 3 tables, 20 named link targets | | `ray-overview/ray-libraries.rst` | 378 | 17 cards | | `cluster/getting-started.rst` | 112 | 4 cards | The conversion is format-only. Every label name, `toctree` entry, directive, and prose line is preserved, so the rendered HTML should be unchanged. No URLs change: Sphinx maps `foo.rst` and `foo.md` to the same `foo.html`. Unlike ray-project#65467, this batch needs no CI or `BUILD.bazel` changes. None of the seven files is named in `doc/BUILD.bazel`, in a `.buildkite` rules fixture, or in `ci/ray_ci/doc`. `data/data.rst`'s one real `testcode`/`testoutput` pair stays covered by the `data` doctest rule's `source/**/*.md` glob. ## Card grids convert to native MyST Every card grid already in a `.md` page (`cluster/vms/index.md`, `cluster/kubernetes/index.md`, `ray-overview/index.md`, `serve/index.md`) is wrapped in `{eval-rst}` and left as RST. This batch uses native MyST fences instead: ```markdown ::::{grid} 1 2 2 2 :gutter: 1 :::{grid-item-card} **Title** ^^^ Body text. +++ ```{button-ref} some-label :color: primary Button text ``` ::: :::: ``` sphinx-design supports MyST first-class — its own docs are MyST and it ships a `snippets/myst/` tree. The `^^^` and `+++` separators are matched by `REGEX_HEADER`/`REGEX_FOOTER` and split out of the raw content lines before anything parses them, so they're format-agnostic. `GridDirective` and `GridItemCardDirective` are ordinary docutils directives registered through `app.add_directive`, which MyST dispatches exactly the way it already dispatches `{tab-set}` in a dozen `.md` pages today. The one thing to know: these directives call `self.state.nested_parse`, so under MyST their content parses as **Markdown**. Any RST left inside a native card renders as literal text instead of erroring. That's why the nested `button-ref`/`button-link`/`image`/`figure` directives all convert too, and it's the specific thing the render diff below was run to confirm. A follow-up PR converts the four existing `{eval-rst}`-wrapped grids so the tree ends up with one pattern rather than two. ## Conversions worth a second look - **`installation.rst`'s nightly-wheel table becomes a `{list-table}`.** It's a `====`-delimited RST simple table whose cells are named-target references. Keeping it as RST inside `{eval-rst}` was the first attempt and it silently broke all eight Linux wheel links, which resolved as internal anchors instead of the S3 URLs; see the verification comment. Inlining the URLs into the simple table isn't possible either, because cell text longer than the column ruler breaks it. So it becomes a `{list-table}` with `:widths: auto`, matching the MacOS and Windows tabs that were already list-tables. The page render-diffs identical. - **`tune/index.rst` had two link forms that don't survive transcription.** `` `Ray Serve`_ `` pointed at `../serve/index.html`, a relative `.html` URL that renders in RST but is a cross-reference target under MyST; it becomes `` {doc}`Ray Serve </serve/index>` ``. Separately, `` `terminating bad runs early <tune-scheduler-hyperband>`_ `` is an RST *external* link to a bare label name, so today it renders as `<a href="tune-scheduler-hyperband">` — a dead relative URL. Sibling lines in the same paragraph use `:ref:` for the same targets, so it becomes `{ref}`. **That is a deliberate rendering change and the one place the diff below is not empty.** Happy to keep the dead link if you'd rather this PR stay strictly format-only. - **`tune/index.rst` is the only file in the tree using the `callout` and `annotations` directives** (`doc/source/_ext/callouts.py`). Both `nested_parse`, so their content is now Markdown; the `<1>`/`<2>` annotation markers are literal text under both parsers. - **`train/train.rst`'s logo block** nests `div` inside `div` around a `raw:: html` with a `:file:` option. It converts to nested colon fences with a `{raw}` fence inside. - **`ray-overview/getting-started.md` linked to `../tune/index.rst`**, which would dangle after the rename. It becomes a `{doc}` reference. ## Verification - Static checks pass on all seven files: frontmatter parses, backtick and colon fences balance at every width, all 14 labels preserved, no residual RST outside fences, no `.rst`/`.html#` link forms, `testcode`/`testoutput` counts match the originals. - Read the Docs preview green under `fail_on_warning: true`, and `buildkite/microcheck` green. - `render_diff.py` against `/en/master`: 4 of 7 pages identical, 3 differing intentionally. **Full results, including three regressions the diff caught that the green build did not, are in [this comment](ray-project#65470 (comment) ## Not a duplicate `gh pr list --repo ray-project/ray --state open` shows no other PR touching these seven files or this conversion, other than ray-project#65468, which changes six lines inside `installation.rst`'s extras table. Whichever lands first, the other rebases. ## Related issue number Part of the ongoing RST-to-MyST conversion of `doc/source/`, following ray-project#65467. Subsequent batches follow the same traffic-weighted ordering. AI assistance was used to prepare this change. ## Checks - [x] I've signed off every commit (`git commit -s`). - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [x] I've included any doc changes needed for the change. - [x] Testing strategy - [x] Unit tests: not applicable; no `BUILD.bazel` or CI wiring changes in this batch. - [x] Release tests: not applicable. - [x] This PR is not tested (please justify below): the decisive checks for a conversion are the RtD preview build under `fail_on_warning: true` and the rendered diff against `/en/master`, both listed above. --------- Signed-off-by: Douglas Strodtman <[email protected]>
## Why this change "Dashboard" is a generic noun, so it stays lowercase next to a product name for the same reason "autoscaler" does. That's the convention ray-project#65239 settles, on @win5923's reasoning in [this review comment](ray-project#65239 (comment)). This PR applies it across the docs. Splitting it out from the rule change keeps each one reviewable on its own: ray-project#65239 is the rule and the tooling, this is the mechanical sweep, and the diff here is casing with no prose rewrites. Same split as ray-project#65423, which retires "Ray Pod." **This depends on ray-project#65239 landing first.** If the convention changes in that review, this sweep changes with it. ## Scope All of `doc/source`, `.md` and `.rst`. 215 replacements across 53 pages, in prose: body text, headings, front matter and `.. meta::` descriptions, a glossary term, table cells, image alt text, and link and cross-reference text. Three commits, each reviewable on its own: the Kubernetes pages, the same term across the rest of the docs, and then the bare "Dashboard" that the first two left behind. The first commit covers `cluster/kubernetes/`, which is where ray-project#65239 scopes its Vale ruleset. The second extends the same convention to the rest, so it holds on every surface rather than only where the tooling happens to point: `ray-observability/`, `serve/`, `ray-core/`, `train/`, `ray-security/`, `ray-overview/`, the non-Kubernetes `cluster/` pages, `data/`, `rllib/`, and `ray-references/`. Headings are included deliberately. This guide requires sentence case for every heading, so "## Step 5: Access the Ray Dashboard" was already a defect on two counts. **The `ray-observability/getting-started` page title changes**, from "Ray Dashboard" to "Ray dashboard." That's the canonical dashboard page, so it's the most visible line in the diff and worth a deliberate look. Cross-references to it that don't set their own text pick the new title up automatically. ## Applied by script, reviewed by hand The sweep ran from a fence-aware script rather than find-and-replace, because a blind pass would have hit literal blocks and rewritten CLI output. It tracks Markdown code fences, treats MyST directive fences such as ```` ```{admonition} ```` as the prose they contain, and tracks rST literal blocks introduced by both `.. code-block::` and a trailing `::`. I reviewed all 162 replacements and each of the 9 exclusions individually. ## Deliberately not changed **Nine uses inside literal blocks**, because the rule governs prose. Eight are shell comments, five of them `# Step 7: Check Ray Dashboard...` in `k8s-ecosystem/ingress.md`. The ninth is literal CLI output in `user-guides/kubectl-plugin.md` (`Ray Dashboard: http://localhost:8265`), where changing it would misreport what the command prints. That leaves a page or two with a lowercase heading above a capitalized shell comment. I'd rather flag that than quietly edit code blocks in a prose sweep. Happy to include the eight comments if a reviewer prefers consistency within the page. **One use in `cluster/kubernetes/configs/static-ray-cluster.tls.yaml`**, a comment in a sample manifest rather than a docs page. **Nothing, as it turns out.** An earlier revision of this description claimed 217 bare capitalized "Dashboard" uses were being left alone. That number was wrong: the command behind it piped `grep -o` output into a `grep -v` filter that could never match, so it counted every occurrence of the word including the ones inside "Ray Dashboard". The real figure was 93, and the third commit sweeps the 54 of those that are the generic noun. What stays capitalized is listed above. **`README.rst` and the `python/` docstrings.** Eight files outside `doc/` use the term, mostly in docstrings that render into the API reference. Different surface, different owners. ## Bare "Dashboard" The third commit covers the 54 uses of a bare capitalized "Dashboard" that the term sweep left behind, which otherwise put "the Dashboard" next to "the Ray dashboard" on the same page. Most are a pure case change. Fifteen needed an article, because the prose used the word as a bare proper noun: "expose Dashboard outside the Cluster" becomes "expose the dashboard outside the Cluster", and three sentences opening "Dashboard is..." become "The dashboard is...". The installation extras table is the one place where a bare lowercase "dashboard" would have read badly, sitting in a list of Ray library names ("Core, Dashboard, Cluster Launcher"). Those rows and the tip below them now say "Ray dashboard". Left capitalized, because these aren't the generic noun: - CloudWatch's Agent, Dashboard, and Alarm config files, plus Grafana's Dashboard and Default Dashboard. - The literal **Open Dashboard** button label in the History Server UI. - Title and label positions where any word would capitalize: the "Dashboard (Web UI)" section title, a `Dashboard` tab label, and a `**Dashboard**` list label. - Twelve uses inside literal blocks, one of which is dashboard log output. ## Six adjacent lines Lowercasing one word of an otherwise title-case heading reads as a botched edit, so where that happened the whole heading goes sentence case: - `cluster/configure-manage-dashboard.md`: "Configuring and Managing Ray Dashboard" to "Configuring and managing Ray dashboard," plus the two link texts and one `:ref:` text that mirror that page title. - `ray-observability/user-guides/profiling.md`: "Ray Dashboard View" to "Ray dashboard view." - `ray-core/internals/token-authentication.rst`: "Ray Dashboard Flow" to "Ray dashboard flow." One more of the same kind in the first commit: alt text in `user-guides/kuberay-dashboard.md` read "KubeRay dashboard List of RayJobs" after the swap, so "List" lowercases too. ## Known cosmetic wart `user-guides/kuberay-history-server.md:13` now reads "see [Ray dashboard](https://docs.ray.io/en/latest/ray-observability/getting-started.html)" against a target whose published title is still title case. This PR retitles that page, so the two converge once it lands. The sentence is redundant as written either way. ## Testing No code, no API, no behavior change. Most replacements are identical in length. The ones that aren't are the fifteen that gained an article and the installation table rows, so rST title underlines needed checking rather than assuming: one title, "Set up Dashboard" becoming "Set up the dashboard", grew past its underline and is fixed. Verified against `master` that the change introduces no other short underline anywhere in `doc/source`. Verified with Vale 3.12.0, running the ruleset from ray-project#65239 against this branch: the `Ray Dashboard` and `KubeRay Dashboard` swaps go from 44 alerts to **0** on the paths that ruleset scopes, and `doc/source/data/` holds at 170 with no new alerts. Vale doesn't cover the other paths in this PR, and it has no rule for the bare noun at all, so the rest was verified by hand against a categorized list of every occurrence. Verified by hand that nothing in the repo references any of the changed heading strings, so no cross-reference or link text goes stale. Nothing here is enforced in CI. The Vale pre-commit hook remains scoped to `doc/source/data/`. ## AI assistance Written with AI assistance (Claude). The script is mine, I've reviewed every replacement and exclusion individually, and I can defend the change end to end. --------- Signed-off-by: Douglas Strodtman <[email protected]>
Why this change
"Dashboard" is a generic noun, so it stays lowercase next to a product name for the same reason "autoscaler" does. That's the convention #65239 settles, on @win5923's reasoning in this review comment. This PR applies it across the docs.
Splitting it out from the rule change keeps each one reviewable on its own: #65239 is the rule and the tooling, this is the mechanical sweep, and the diff here is casing with no prose rewrites. Same split as #65423, which retires "Ray Pod."
This depends on #65239 landing first. If the convention changes in that review, this sweep changes with it.
Scope
All of
doc/source,.mdand.rst. 215 replacements across 53 pages, in prose: body text, headings, front matter and.. meta::descriptions, a glossary term, table cells, image alt text, and link and cross-reference text.Three commits, each reviewable on its own: the Kubernetes pages, the same term across the rest of the docs, and then the bare "Dashboard" that the first two left behind.
The first commit covers
cluster/kubernetes/, which is where #65239 scopes its Vale ruleset. The second extends the same convention to the rest, so it holds on every surface rather than only where the tooling happens to point:ray-observability/,serve/,ray-core/,train/,ray-security/,ray-overview/, the non-Kubernetescluster/pages,data/,rllib/, andray-references/.Headings are included deliberately. This guide requires sentence case for every heading, so "## Step 5: Access the Ray Dashboard" was already a defect on two counts.
The
ray-observability/getting-startedpage title changes, from "Ray Dashboard" to "Ray dashboard." That's the canonical dashboard page, so it's the most visible line in the diff and worth a deliberate look. Cross-references to it that don't set their own text pick the new title up automatically.Applied by script, reviewed by hand
The sweep ran from a fence-aware script rather than find-and-replace, because a blind pass would have hit literal blocks and rewritten CLI output. It tracks Markdown code fences, treats MyST directive fences such as
```{admonition}as the prose they contain, and tracks rST literal blocks introduced by both.. code-block::and a trailing::. I reviewed all 162 replacements and each of the 9 exclusions individually.Deliberately not changed
Nine uses inside literal blocks, because the rule governs prose. Eight are shell comments, five of them
# Step 7: Check Ray Dashboard...ink8s-ecosystem/ingress.md. The ninth is literal CLI output inuser-guides/kubectl-plugin.md(Ray Dashboard: http://localhost:8265), where changing it would misreport what the command prints.That leaves a page or two with a lowercase heading above a capitalized shell comment. I'd rather flag that than quietly edit code blocks in a prose sweep. Happy to include the eight comments if a reviewer prefers consistency within the page.
One use in
cluster/kubernetes/configs/static-ray-cluster.tls.yaml, a comment in a sample manifest rather than a docs page.Nothing, as it turns out. An earlier revision of this description claimed 217 bare capitalized "Dashboard" uses were being left alone. That number was wrong: the command behind it piped
grep -ooutput into agrep -vfilter that could never match, so it counted every occurrence of the word including the ones inside "Ray Dashboard". The real figure was 93, and the third commit sweeps the 54 of those that are the generic noun. What stays capitalized is listed above.README.rstand thepython/docstrings. Eight files outsidedoc/use the term, mostly in docstrings that render into the API reference. Different surface, different owners.Bare "Dashboard"
The third commit covers the 54 uses of a bare capitalized "Dashboard" that the term sweep left behind, which otherwise put "the Dashboard" next to "the Ray dashboard" on the same page. Most are a pure case change. Fifteen needed an article, because the prose used the word as a bare proper noun: "expose Dashboard outside the Cluster" becomes "expose the dashboard outside the Cluster", and three sentences opening "Dashboard is..." become "The dashboard is...".
The installation extras table is the one place where a bare lowercase "dashboard" would have read badly, sitting in a list of Ray library names ("Core, Dashboard, Cluster Launcher"). Those rows and the tip below them now say "Ray dashboard".
Left capitalized, because these aren't the generic noun:
Dashboardtab label, and a**Dashboard**list label.Six adjacent lines
Lowercasing one word of an otherwise title-case heading reads as a botched edit, so where that happened the whole heading goes sentence case:
cluster/configure-manage-dashboard.md: "Configuring and Managing Ray Dashboard" to "Configuring and managing Ray dashboard," plus the two link texts and one:ref:text that mirror that page title.ray-observability/user-guides/profiling.md: "Ray Dashboard View" to "Ray dashboard view."ray-core/internals/token-authentication.rst: "Ray Dashboard Flow" to "Ray dashboard flow."One more of the same kind in the first commit: alt text in
user-guides/kuberay-dashboard.mdread "KubeRay dashboard List of RayJobs" after the swap, so "List" lowercases too.Known cosmetic wart
user-guides/kuberay-history-server.md:13now reads "see Ray dashboard" against a target whose published title is still title case. This PR retitles that page, so the two converge once it lands. The sentence is redundant as written either way.Testing
No code, no API, no behavior change.
Most replacements are identical in length. The ones that aren't are the fifteen that gained an article and the installation table rows, so rST title underlines needed checking rather than assuming: one title, "Set up Dashboard" becoming "Set up the dashboard", grew past its underline and is fixed. Verified against
masterthat the change introduces no other short underline anywhere indoc/source.Verified with Vale 3.12.0, running the ruleset from #65239 against this branch: the
Ray DashboardandKubeRay Dashboardswaps go from 44 alerts to 0 on the paths that ruleset scopes, anddoc/source/data/holds at 170 with no new alerts. Vale doesn't cover the other paths in this PR, and it has no rule for the bare noun at all, so the rest was verified by hand against a categorized list of every occurrence.Verified by hand that nothing in the repo references any of the changed heading strings, so no cross-reference or link text goes stale.
Nothing here is enforced in CI. The Vale pre-commit hook remains scoped to
doc/source/data/.AI assistance
Written with AI assistance (Claude). The script is mine, I've reviewed every replacement and exclusion individually, and I can defend the change end to end.