Repository navigation
[ci][doc] Convert the root README and other READMEs from RST to Markdown - #66811
Merged
Merged
Conversation
dstrodtman
marked this pull request as ready for review
October 7, 2026 15:41
dstrodtman
requested review from
a team,
edoakes and
richardliaw
as code owners
October 7, 2026 15:41
Contributor
There was a problem hiding this comment.
Code Review
This pull request migrates the repository's root documentation files, specifically README.rst and CONTRIBUTING.rst, to Markdown format (README.md and CONTRIBUTING.md). It updates all corresponding references across build configurations, CI rules, Dockerfiles, and python/setup.py, where the long description content type is updated to Markdown. Reviewer feedback highlights a typo in CONTRIBUTING.md regarding PRs engaging with contributors, and suggests updating HTTP links to HTTPS in README.md for better security and consistency.
richardliaw
approved these changes
Oct 9, 2026
PyPI renders a Markdown long description natively, so setup.py now reads README.md and declares long_description_content_type="text/markdown". lint: doc_readme drops --restructuredtext, which validates the long description as RST and would reject the Markdown file, and keeps --strict --metadata. The wheel Dockerfiles, wanda srcs, and the CI rule that triggers the lint step follow the rename. Signed-off-by: Douglas Strodtman <[email protected]>
Markup-only conversion. Repoints the link in AGENTS.md and the mention in the ray-soft-wrap skill, and updates the test.rules expectations that name the root README and CONTRIBUTING files. Signed-off-by: Douglas Strodtman <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Douglas Strodtman <[email protected]>
… only) Pure git mv of the package READMEs, release-test README, and design notes outside doc/source/, so history follows the files. The next commit converts their markup. Updates the two test.rules.test.txt expectations that name these files; both still hit the repo-wide prose skip. Signed-off-by: Douglas Strodtman <[email protected]>
Markup-only conversion of the files renamed in the previous commit: headings, links, literals, code blocks, and comments. Rendered text and link targets match the RST, except the long-running-tests README's 'Anyscale UI' link, whose RST markup was malformed (no trailing underscore) and rendered the raw URL. It's now a working link. Signed-off-by: Douglas Strodtman <[email protected]>
Add code formatting in the dashboard client and long-running tests READMEs, fix the long-running tests sentence, and point the custom_func_checkpointing link in the Tune examples README at custom_func_checkpointing.py instead of logging_example.py. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
dstrodtman
force-pushed
the
djs-261007-root-readme-md
branch
from
October 14, 2026 15:18
9ae6740 to
53ec120
Compare
dstrodtman
added a commit
that referenced
this pull request
Oct 14, 2026
## Description A rolling batch of small, independent docs fixes. Ray's `AGENTS.md` asks that trivial edits be bundled rather than opened as one-off PRs, so they collect here. Each item is its own commit or commit pair, so a reviewer can drop any one without touching the rest. ### Items 1. **RLlib dev install: use `setup-dev.py --allow` instead of prompt-order instructions** (`doc/source/rllib/dev.md`). The example said to answer `Y` only at "the first question on linking RLlib." `setup-dev.py` now prompts for `llm`, `serve/llm`, and `data/llm.py` before `rllib`, so following the comment as written links `llm` and declines RLlib. The example now uses `--allow rllib`, with `--allow rllib tune train` as the opt-in for Tune and Train, which doesn't depend on prompt order. Found while checking that READMEs and contributor docs no longer reference the pre-#66096 `rllib/` symlink layout. No such references remain. 2. **Convert the KubeRay GPU guide to MyST** (`doc/source/kuberay/user-guides/gpu.rst` to `.md`). It's the last prose `.rst` page under `doc/source/` outside the API-reference trees. It was held back from the cluster conversion until #66674 moved it to `kuberay/`. Two commits: a faithful conversion, then a whitespace-only soft-wrap verified by `ray-soft-wrap`'s `verify.py`. Both labels (`kuberay-gpu`, `kuberay-gpu-override`) are preserved, the named hyperlink targets are inlined, and the heading levels match the live page (H1 to H4). 3. **Fix the raw RST at the top of the contributor guide** (`doc/source/ray-contribute/getting-involved.md`). The page includes `_includes/_latest_contribution_doc.rst` with `{include}` and `:parser: rst`, which MyST doesn't parse as RST. Since the page converted to Markdown, docs.ray.io has shown the literal text "… admonition:: Check your version!" at the top of the page. The page was the partial's only consumer, so the admonition is now inline as `:::{admonition}` and the partial is deleted. 4. **Replace an unreachable vSphere link in the VM getting-started guide** (`doc/source/cluster/vms/getting-started.md`). The vSphere tab linked to `github-vcf.devops.broadcom.net/vcf/vmray`, an internal Broadcom host that isn't reachable from the public internet, so the nightly link check flags it as broken on `master`. The link now points to the supervisor service section of the in-tree vSphere launch guide, which covers the same setup step. ## Not a duplicate - Item 1: no open PR touches `doc/source/rllib/dev.md`, and searches for `setup-dev rllib`, `rllib dev.md`, and the page title return no open PRs. - Items 2 and 3: no open PR touches any of the changed paths. I checked the file lists of the 400 most recent open PRs, and searched for `MyST`, `gpu.rst`, and `getting-involved`. - Item 4: of the 400 most recent open PRs, only #66289 also touches `doc/source/cluster/vms/getting-started.md`. It adds an OCI tab next to the vSphere tab and leaves the vSphere link unchanged. The README and design-note conversions outside `doc/` that were item 4 moved to #66811. Those paths pull in library code-owner approvals, which this PR shouldn't wait on. ## Testing - Item 1: installed the `ray==2.59.0` wheel into a clean Python 3.11 venv, then ran both documented commands from this branch: - `python python/ray/setup-dev.py --allow rllib`: linked only `site-packages/ray/rllib` to the checkout's `python/ray/rllib` and skipped every other package. - `python python/ray/setup-dev.py --allow rllib tune train`: linked `tune` and `train`, reported `rllib` as already linked, and skipped the other 20 packages. - Item 2: static checks on the new `.md` passed. They confirm the frontmatter parses, the fences balance, and no RST constructs or scheme-less links are left. The page has no `testcode` or doctest blocks, and `doc/BUILD.bazel` doesn't name it. Heading levels were checked against the live `/en/master` page. The Read the Docs preview build and a render diff against `/en/master` are pending. - Item 3: the render diff against `/en/master` is expected to differ at the top of the page. `/en/master` currently shows the broken literal text, and this PR shows the admonition. - Item 4: the target heading exists in `vsphere.md`, and `myst_heading_anchors = 4` in `conf.py` generates its anchor. - `pre-commit` ran on every commit. The master-branch link check is the only hook that applies, and it passed. This PR was prepared with AI assistance (Claude Code). I reviewed every changed line. 🤖 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]>
dstrodtman
added a commit
to pseudo-rnd-thoughts/ray
that referenced
this pull request
Oct 20, 2026
Undo the Markdown conversion, which ray-project#66811 already covers, and keep the style edits in RST. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
#67116 converts CONTRIBUTING.rst to Markdown alongside its content update, so remove the conversion here. This restores CONTRIBUTING.rst, the AGENTS.md and ray-soft-wrap references to it, and its test.rules.test.txt expectation. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
MortalHappiness
approved these changes
Oct 31, 2026
elliot-barn
approved these changes
Nov 2, 2026
pseudo-rnd-thoughts
approved these changes
Nov 2, 2026
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.
Description
Converts the repo-root
README.rstto Markdown. It also converts the remaining.rstREADMEs and design notes outsidedoc/, which moved here from #66664 so that PR doesn't wait on library code-owner approvals. Unlike those files,README.rstis a packaging input.Root README
README.rstbecomesREADME.md. Images and badges become linked Markdown images, named hyperlink targets are inlined, and the "Getting Involved"list-tablebecomes a pipe table. The unusedWorkflowtarget, which nothing referenced, is dropped.python/setup.pyreadsREADME.mdand setslong_description_content_type="text/markdown", so PyPI renders it as Markdown.lint: doc_readme(ci/lint/lint.sh) drops--restructuredtextand itsdocutilsinstall, and keepssetup.py check --strict --metadata.--restructuredtextparses the long description as RST whatever its content type, so it fails on the Markdown file. PyPI doesn't reject a Markdown long description the way it rejects invalid RST, so the remaining check covers the metadata. The step's tag and trigger are unchanged.ci/docker/ray-wheel.Dockerfile,ci/docker/ray-cpp-wheel.Dockerfile, and thesrcsof the three wanda configs that listedREADME.rst(min.build,ray-wheel,ray-cpp-wheel) now nameREADME.md..buildkite/always.rules.txtandalways.rules.test.txtmove thepypi_readmetrigger fromREADME.rsttoREADME.md. The comments in those files and inlint.rayci.ymlnow describe the metadata-only check.READMEs and design notes outside
doc/These moved here from #66664. They cover
python/ray/autoscaler/,python/ray/dashboard/client/,python/ray/rllib/core/models/,python/ray/tune/,python/ray/tune/examples/,release/long_running_tests/, andsrc/ray/design_docs/(actor_states,task_states). Two commits: a puregit mvso history follows each file, then the markup conversion. The rename commit also updates the two.buildkite/test.rules.test.txtexpectations that nametune/READMEandtask_states. Both paths still hit the repo-wide prose skip, which matches*.mdas well as*.rst. Two of the files needed no markup change:autoscaler/READMEwas already Markdown inside an.rst, andrllib/core/models/READMEis plain text. A follow-up commit fixes typos and formatting carried over from the.rstsources, and points thecustom_func_checkpointinglink in the Tune examples README atcustom_func_checkpointing.pyinstead oflogging_example.py.Not a duplicate
No open PR converts
README.rst. Searches forREADME.rst,README.md,long_description, andreadme markdownreturn no overlapping work. An earlier version of this PR also convertedCONTRIBUTING.rst. That conversion now lives in #67116, which also updates the file's content, so this PR leavesCONTRIBUTING.rstalone. Among the 400 most recent open PRs, #59038 (adds a badge, last updated 2025-12-18) editsREADME.rstand would need to move its change toREADME.md. Several open PRs touchpython/setup.py, but on unrelated lines. For the READMEs and design notes, no open PR touches any of the changed paths.Testing
README.rstwith docutils andREADME.mdwith a CommonMark parser, then compared the visible text, link targets, and image sources. All three match.python/:python setup.py check --strict --metadata(the new lint command) exits 0.python setup.py check --restructuredtext --strict --metadata(the old command) exits 1 on the Markdown README withLine block ends without a blank line. That confirms the lint step had to change.rayci test-rules(built fromray-project/rayciatef6403a) on this branch and it passed. As a negative control, removingpypi_readmefrom theREADME.mdexpectation made it fail..rstwith docutils and each.mdwith a CommonMark parser, then compared the visible text and link targets. They match, with two exceptions. The TensorFlow URL intune/examples/READMEis a bare URL, which GitHub autolinks.long_running_tests/README's "Anyscale UI" link had malformed RST markup with no trailing underscore, so it rendered the raw URL. It's now a working link.pre-commitpassed on every commit.README.md. Premerge builds them.This PR was prepared with AI assistance (Claude Code). I reviewed every changed line.
🤖 Generated with Claude Code