Skip to content

[doc] Batch of small docs fixes - #67187

Merged
dstrodtman merged 3 commits into
masterfrom
djs-261020-doc-fixes-batch
Oct 20, 2026
Merged

dstrodtman merged 3 commits into
masterfrom
djs-261020-doc-fixes-batch

Conversation

@dstrodtman

Copy link
Copy Markdown
Contributor

Why are these changes needed?

The scheduled doc: linkcheck step on postmerge flagged six external links in the Ray docs as confirmed broken, starting between October 17 and October 19. Four of them have stable replacements. Each fix is a separate commit, so a reviewer can drop any one of them.

  • AWS Neuron (2 links). AWS restructured the Neuron docs, and both old URLs return 404. serve/tutorials/aws-neuron-core-inference.md now links to the PyTorch Neuron (torch-neuronx) setup page. core/scheduling/accelerators.md now links to the Neuron architecture guides index.
  • PyTorch Lightning callbacks (1 link). The old readthedocs URL redirects to lightning.ai/docs/pytorch/latest/extensions/callbacks.html, which returns 404. tune/examples/tune-vanilla-pytorch-lightning.ipynb now links to the stable docs page.
  • KubeRay API reference (1 link). The KubeRay repository moved to the kuberay-project organization, and ray-project.github.io/kuberay/ now returns 404. kuberay/user-guides/mtls.md now links to kuberay-project.github.io/kuberay/reference/api/#networkpolicyconfig.

The two rise.cs.berkeley.edu blog links in ray-overview/getting-started.md are also reported broken, but the whole site has returned HTTP 500 for only about a day. This PR leaves them alone until the outage looks permanent.

This is a batch of small docs fixes. Ray's AGENTS.md asks for trivial edits to be bundled rather than opened as one-off PRs, so this draft will collect more small fixes before it's marked ready.

Not a duplicate

I searched open PRs for each replaced URL. The only match, #66230, is a Serve LLM docs PR that doesn't touch these links.

Testing

  • Requested every new URL with curl -L and got HTTP 200. For the KubeRay link, I also confirmed that the page has an element with id="networkpolicyconfig".
  • Loaded the edited notebook with python -c "import json; json.load(open(...))" to confirm it's still valid JSON.
  • Pre-commit hooks passed on each commit, including the check that links to files on Ray's master branch resolve.

This PR changes only prose links, so no other tests apply.

AI assistance

Claude Code helped find the broken links in the linkcheck report, verify the replacement URLs, and draft this description. I reviewed every change.

🤖 Generated with Claude Code

dstrodtman and others added 3 commits October 20, 2026 08:43
The Neuron docs moved the PyTorch setup and architecture pages, so both
old URLs return 404. Point them at the current PyTorch Neuron
(torch-neuronx) setup page and the Neuron architecture guides index.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Douglas Strodtman <[email protected]>
The old readthedocs URL redirects to lightning.ai/docs/pytorch/latest/,
which returns 404. Link the stable docs page directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Douglas Strodtman <[email protected]>
The KubeRay repository moved to the kuberay-project organization, and
its documentation site moved with it. The old ray-project.github.io
URL returns 404.

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 20, 2026
@dstrodtman
dstrodtman marked this pull request as ready for review October 20, 2026 12:58
@dstrodtman
dstrodtman requested review from a team as code owners October 20, 2026 12:58

@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 updates several outdated documentation links across the project, including links for AWS Neuron Core, KubeRay API reference, PyTorch Neuron, and PyTorch Lightning callbacks. No review comments were provided, and there is no additional feedback to offer.

@win5923 win5923 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM for kuberay part.

@ray-gardener ray-gardener Bot added docs An issue or change related to documentation core Issues that should be addressed in Ray Core labels Oct 20, 2026
dstrodtman added a commit that referenced this pull request Oct 20, 2026
#67188)

## Why are these changes needed?

The KubeRay repository moved from `ray-project/kuberay` to
[`kuberay-project/kuberay`](https://github.com/kuberay-project/kuberay).
The docs still link to the old org in about 170 places, and those links
fail in different ways:

- **GitHub Pages: already broken.** `ray-project.github.io/kuberay/`
returns 404, because GitHub Pages doesn't redirect after a repo
transfer. The site now lives at `kuberay-project.github.io/kuberay/`.
- **Repo, raw, and kustomize URLs: working on borrowed time.** GitHub
redirects `github.com/ray-project/kuberay/...` and
`raw.githubusercontent.com/ray-project/kuberay/...` to the new org. That
covers the `kubectl apply -f` and `kubectl create -k` commands in the
install guides. The redirect lasts only until someone creates a new repo
at the old path.

This PR repoints the `github.com`, `raw.githubusercontent.com`, and
GitHub Pages links in 66 files under `doc/` to the new org. It also
updates the link labels and prose that name the repo, such as
`[kuberay-project/kuberay#1162]`.

### What this PR leaves unchanged

- **The Helm repo URL**, `https://ray-project.github.io/kuberay-helm/`,
in 12 install commands. It still serves, and a
`kuberay-project/kuberay-helm` repo also exists, so the canonical URL is
a maintainer call. KubeRay maintainers, which URL should users configure
going forward?
- **`doc/source/kuberay/references/api.md`.** It's a generated file
vendored from the KubeRay repo, and the sync job overwrites it, so its
links change at the source.
- **A verbatim operator log sample** in
`kuberay/troubleshooting/rayservice-troubleshooting.md`. The log line
embeds a URL the operator printed in 2023, and a quoted log should stay
as printed.
- **Go module paths and the `@ray-project/kuberay` CODEOWNERS team.**
The KubeRay Go module is still
`github.com/ray-project/kuberay/ray-operator`, and the team is a GitHub
team, not a repo URL.
- **Files outside `doc/`** that reference the old org: autoscaler code
and scripts under `python/ray/autoscaler/`,
`python/ray/tests/chaos/prepare_env.sh`,
`release/k8s_tests/run_gcs_ft_on_k8s.py`, and two READMEs. They're code
and test owners' changes, so they're left for a follow-up.

The batch PR #67187 makes the same one-line change to the API reference
link in `kuberay/user-guides/mtls.md`. The edits are identical, so
whichever PR merges second merges cleanly.

There's also one unrelated fix. A comment in
`kuberay/user-guides/pod-command.md` linked
`github.com/.../kuberay/ray-operator/...` without the `blob/master/`
segment, so it never resolved. It now does.

## Not a duplicate

I searched open PRs for `kuberay-project` and found no other link
migration. A few open PRs add new links in the old form. Those keep
working through the redirect and can be updated after this merges.

## Testing

- Extracted all 130 unique URLs the diff adds and checked each one
against the new org. I used the GitHub API for repo paths, refs, PRs,
issues, and releases, and plain HTTP for raw files and GitHub Pages.
  - 126 resolved directly.
- The two kustomize refs, `ray-operator/config/crd` and
`ray-operator/config/default` at `v1.7.0`, aren't web URLs, so I checked
their paths at that tag through the API. Both exist.
- The remaining two were the log sample and the malformed comment URL
described above.
- Loaded every edited notebook as JSON to confirm it's still valid.
- Pre-commit hooks passed, including the check that links to files on
Ray's master branch resolve.

This PR changes only links and link labels, so no other tests apply.

## AI assistance

Claude Code helped find the references, apply and scope the rewrite,
verify every new URL, and draft this description. I reviewed the diff.

🤖 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]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@dstrodtman
dstrodtman merged commit 1a14a73 into master Oct 20, 2026
6 checks passed
@dstrodtman
dstrodtman deleted the djs-261020-doc-fixes-batch branch October 20, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core 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.

3 participants