Repository navigation
[doc] (2.61.0) Use relative links to the new /kuberay/ docs paths - #66742
Merged
Merged
Conversation
dstrodtman
force-pushed
the
doc-1738-kuberay-link-repoint
branch
from
October 14, 2026 14:22
89697c9 to
261f1d1
Compare
dstrodtman
marked this pull request as ready for review
October 14, 2026 14:27
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates several documentation files and a Python source file to replace absolute URLs pointing to docs.ray.io with relative paths or updated links, improving link consistency and maintenance. There are no review comments, and I have no additional feedback to provide.
3 tasks done
dstrodtman
added a commit
that referenced
this pull request
Oct 14, 2026
## Why are these changes needed?
About 75 links in `doc/source/` point back to the Ray docs through
absolute `docs.ray.io` URLs instead of in-tree references. They pin
readers to `/en/latest` or `/en/master` regardless of which version
they're reading, and a few pin to `releases-2.7.0` and `releases-2.48.0`
and show years-old content. They also bypass Sphinx's cross-reference
checking, so a moved page breaks silently. Many already resolve only
through redirects after the `ray-core/` to `core/` move.
This PR replaces them with in-tree references:
- Relative `.md`/`.ipynb` paths, with heading anchors where the original
linked a section.
- `{ref}` labels where the original anchor no longer exists as a
heading. Examples are `system-metrics`, `application-level-metrics`,
`serve-cli`, and `serve-in-production-config-file`.
- `{doc}` for rST targets, per `doc/AGENTS.md`.
- `{func}` and `{class}` for API reference pages: `ray.remote`,
`ray.serve.start`, and `ServeApplicationSchema`.
Link text is unchanged except where a role required it. The edits span
KubeRay, RLlib, Core, Serve, Data, Train, observability, and the
contributor guide, plus eight example notebooks, where only markdown
cells changed.
Out of scope, on purpose:
- URLs in code blocks, code cells, and config files. Those are correct
as absolute URLs.
- `doc/source/templates/`. It's excluded from the build and slated for
removal.
- The `serve/tutorials/video-analysis/` and
`train/examples/jax/intro-to-jax-trainer/` README pairs. The right link
form depends on whether they become Anyscale templates, which is still
being decided.
- `_includes/_latest_contribution_doc.rst`, which deliberately points
versioned builds at `/master`.
## Related issue number
None. This is the follow-on to #66742, which fixes the links into the
new `/kuberay/` paths. This PR doesn't touch any link #66742 changes, so
the two merge independently. I checked open PRs touching the same files:
#66664, #66850, and #66974 edit different lines.
## Checks
- [x] I've signed off every commit (DCO).
- [x] Built the docs locally with the RtD-faithful target: `make -C doc
rtd-build`, which runs `sphinx-build -a -E -W --keep-going` with Python
3.11 and the docs lock. Result: `build succeeded.`, exit 0, and no
Sphinx warnings under `-W`. The only `WARNING` lines in the log are
RLlib's own logger output from `compression.py` and `distributions.py`.
- [x] Spot-checked rendered hrefs in `_build/html`. For example,
`kuberay/user-guides/tls.html` now links
`../../core/configure.html#tls-authentication`, and
`serve/advanced-guides/grpc-guide.html` links
`../api/cli.html#serve-cli` and the `ray.serve.start` reference page.
- Prose and notebook markdown only, so no tests apply.
AI assistance was used to find the links, map each one to its current
source, and apply the edits. This PR stays in draft until the submitter
has 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]>
win5923
approved these changes
Oct 14, 2026
left absolute docs.ray.io links alone, because the new paths don't exist on /en/latest/ until a release ships them. Repoint those links, switch the JAX trainer example from /en/master/ to /en/latest/, and fix the TPU anchor in the autoscaler error message, which was already broken. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
Ray's writing-style guide prefers build-time cross-references over
hardcoded docs.ray.io URLs. Convert the absolute links in docs pages to
relative Markdown links, and use the {doc} role for gpu.rst. Relative
links resolve within whichever version a reader is browsing and don't
depend on a release shipping the new paths.
The autoscaler error message and the code comment in the JAX trainer
example stay absolute, since readers see them outside the rendered docs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Douglas Strodtman <[email protected]>
dstrodtman
force-pushed
the
doc-1738-kuberay-link-repoint
branch
from
October 14, 2026 16:53
54c9b34 to
65234a1
Compare
ronny-anyscale
approved these changes
Oct 14, 2026
abrarsheikh
approved these changes
Oct 14, 2026
Kunchd
approved these changes
Oct 15, 2026
MengjinYan
approved these changes
Oct 15, 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
#66674 moved the KubeRay docs from
cluster/kubernetes/tokuberay/. It deliberately left absolutedocs.ray.io/en/latest/...links alone, because the new paths don't exist on/en/latest/until a Ray release ships them, and the redirects keep the old URLs working. This PR is that deferred follow-up.gpu.rstuses the{doc}role, because a Markdown link to an.rstsource emitsmyst.xref_missing. Each target is the page the redirects indoc/redirects/current.yamlsend the old URL to, including the renames from the move, such askuberay-operator-installationtooperator-installation. Thekai-scheduler.mdlink drops its#kuberay-operator-installationanchor, which pointed at the page's H1.python/ray/autoscaler/_private/kuberay/autoscaling_config.py, and the KubeRay TPU code comment in the JAX trainer example'sREADME.mdandREADME.ipynb. These point at the new/en/latest/kuberay/paths. The JAX comment moves from/en/master/to/en/latest/, which [doc] Promote KubeRay to a top-level docs section #66674 used only because the new path wasn't on/en/latest/yet.#configuring-ray-pods-for-tpu-usagedoesn't exist on the TPU page, in either the released or the current docs. The section is#configuring-kubernetes-pods-for-tpu-usage.releases-2.42.1inkuberay/user-guides/gcs-ft.mdandreleases-2.48.0inray-core/internals/autoscaler-v2.md.Safe to merge before the next release. The relative links resolve within whichever docs version a reader is browsing. Of the three absolute links, the autoscaler message only reaches users in a release that already includes #66674. Until that release publishes, the JAX example's
/en/latest/kuberay/URL redirects to the old KubeRay index rather than the TPU guide, so it lands on a related page instead of a 404.Related issues
Follow-up to #66674. The matching change in the KubeRay repo is kuberay-project/kuberay#5379.
Additional information
Not a duplicate: no open PR touches these links. #66674 left them for this follow-up.
Verification:
git grep -E "docs\.ray\.io/[^ ]*cluster/kubernetes" -- . ':!doc/redirects'returns only the two release-pinned links.git grep "docs.ray.io/en/[a-z0-9.]*/kuberay"returns only the three intentionally absolute links.#specifying-non-default-portsand#imageinkuberay/user-guides/config.mdcome frommyst_heading_anchors = 4inconf.py.README.ipynbstill parses as JSON, and its link matchesREADME.md.This PR was prepared with AI assistance (Claude Code) and reviewed by me.
🤖 Generated with Claude Code