Repository navigation
[doc][core] Regroup advanced topics into task-based subtrees - #66850
Draft
dstrodtman wants to merge 4 commits into
Draft
dstrodtman wants to merge 4 commits into
dstrodtman wants to merge 4 commits into
Conversation
This was referenced Oct 8, 2026
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]>
dstrodtman
force-pushed
the
doc-1711-core-ia-regroup
branch
from
October 20, 2026 14:00
c0613e8 to
0ed9efe
Compare
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
dstrodtman
force-pushed
the
doc-1711-core-ia-regroup
branch
from
October 29, 2026 20:42
0ed9efe to
3a8b6b8
Compare
…moves Register cluster/configure.md in the Core doctest list at its new path, and repoint the relative links in compiled-graph/ray-dag.md and kuberay/user-guides/tls.md. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Douglas Strodtman <[email protected]>
…regroup Signed-off-by: Douglas Strodtman <[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. |
This branch has not been deployed
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.
Why are these changes needed?
The Ray Core Advanced topics page lists 12 unrelated pages from the root of
doc/source/core/. Several of them aren't advanced, such as Starting Ray and Tips for first-time users. Several others belong with a topic that already has its own section, such as generators with tasks and namespaces with named actors.configure.mdlives in the Core directory, but only the contributor guide's toctree lists it, so it doesn't appear in any user-facing navigation. It and Head node memory management are cluster configuration that applies to every deployment and workload, which is the scope of the cluster docs.This PR regroups those pages by task, and moves the two cluster configuration pages into the cluster docs. It changes paths, repoints the relative links and the doctest entry that the moves break, and otherwise leaves page content alone. A follow-up PR will split up
miscellaneous.md, which mixes four unrelated topics, and add cross-links between related pages.This is a draft so the Core team, which also owns the cluster docs, can review the proposed grouping as a concrete diff. Feedback on where each page should live is the main thing this PR needs.
What changed
File moves
Each move keeps git history. Git detects all five as renames.
core/ray-generator.mdcore/tasks/ray-generator.mdcore/namespaces.mdcore/actors/namespaces.mdcore/ray-dag.mdcore/compiled-graph/ray-dag.mdcore/configure.mdcluster/configure.mdcore/head-node-memory-management.mdcluster/head-node-memory-management.mdIn the cluster docs, both pages sit in the top-level toctree next to the deployment-agnostic Configuring and managing Ray dashboard page, rather than under the VM or Kubernetes branches.
Navigation-only changes
These pages keep their URLs:
runtime_envnow sits under Environment dependencies in the nav. The file stays in place.configureleaves the contributor guide's toctree.Advanced topics now lists
type-hint,cross-language,user-spawn-processes, andmiscellaneous.Naming notes
ray-generatorslug. The nametasks/generatorswould duplicate the slug ofpatterns/generators.md.doc_code/literalinclude paths in the moved pages are rebased for the new directory depth. Relative links into and out of the moved pages are repointed: the{doc}link fromcluster/configure.mdto the Core API index (now../core/api/index), the configuration link incore/starting-ray.md, the Serve and Compiled Graph profiling links incore/compiled-graph/ray-dag.md, thedynamic-generatorstoctree entry incore/tasks/ray-generator.md, and theconfigure.mdlinks inkuberay/ecosystem/istio.mdandkuberay/user-guides/tls.md.Redirects
doc/redirects/current.yamlgains 10pagerules. Each old path gets a one-hop rule from both/core/<page>.htmland the pre-move/ray-core/<page>.html. No existing rule is repointed.Remaining absolute
docs.ray.io/.../ray-core/configure.htmllinks in a KubeRay config comment, a notebook comment, andsrc/ray/raylet/worker_pool.ccresolve through these redirects. This PR leaves them unchanged so that it stays limited to docs and doc test wiring.Verification
make -C doc rtd-buildin a fresh Python 3.11 venv fromdoc/requirements-doc.lock.txtreportedbuild succeeded.with exit 0, which means zero Sphinx warnings under-W. The Read the Docs preview build passes on the current head.rtd-redirects validate doc/redirects/current.yamlreported 0 errors and 0 warnings. Chain notes went from 183 to 191, from the expected two-hop paths through older rules.rtd-redirects simulatewith--prefix /core/ --prefix /ray-core/ --prefix /cluster/ --git-renames doc/sourceagainstmaster,latest,releases-2.50.0, andreleases-2.40.0reported 0 regressions, 0 wrong landings, and 0 new loops on every version. Replaying the 10 old URLs explicitly shows each one reaching its new page in 1 hop on master. Onlatestand older releases the rules don't fire, because those versions still serve the old pages.doc/BUILD.bazel. This PR movesconfigure.md's entry in the Coredoctest_eachlist tosource/cluster/configure.md, so itstestcodeblocks stay tested. None of the other moved pages is in a doctest list. I didn't run the Bazel doctest target locally.Duplicate check
I searched open PRs that touch
doc/source/core/. None of them moves or regroups these pages, or editsadvanced-topics.md,configure.md, or the toctrees changed here.AI assistance
I prepared this PR with AI assistance (Claude Code). I reviewed every changed line and ran the verification above.
🤖 Generated with Claude Code