Skip to content

[RLlib] Point RLlib doc links at the released docs - #67328

Merged
dstrodtman merged 1 commit into
masterfrom
djs-261023-rllib-latest-doc-links
Oct 23, 2026
Merged

dstrodtman merged 1 commit into
masterfrom
djs-261023-rllib-latest-doc-links

Conversation

@dstrodtman

Copy link
Copy Markdown
Contributor

Description

RLlib's code links users to https://docs.ray.io/en/master/..., which is built from Ray's development branch, not the version they have installed. This PR points all 18 of those links in python/ray/rllib/ at /en/latest/, which tracks the most recent release.

The links are in three places:

  • Algorithm READMEs and docstrings for APPO, CQL, DQN, PPO, and SAC (15 links). They used the old top-level path rllib-algorithms.html, which takes two 301 redirects to reach the current page (/rllib-algorithms.html to /rllib/rllib-algorithms.html to /rllib/algorithms.html). They now link to rllib/algorithms.html directly. The anchors (#appo, #cql, #dqn, #ppo, #sac, #deep-q-networks-dqn-rainbow-parametric-dqn) are unchanged, and I confirmed each one exists on /en/master/rllib/algorithms.html.
  • The new-API-stack migration warnings in AlgorithmConfig and SACConfig (2 links). Users see these when they upgrade, so the link should match released docs.
  • The RLlib README link to the docs index (1 link).

Every replacement is the same length as the original, so no line wrapping or formatting changed.

Timing: the algorithms page reaches /latest with 2.60.0

rllib/algorithms.html comes from the filename rename in #66060, which is on releases/2.60.0 but not in 2.59.0, the current /latest. Until 2.60.0 publishes, https://docs.ray.io/en/latest/rllib/algorithms.html returns 404, and the old name /en/latest/rllib/rllib-algorithms.html still serves.

That only matters for someone reading these links on GitHub before 2.60.0 is out. This change isn't on releases/2.60.0, so the earliest release that ships it is 2.61, by which point /latest serves the new page. The other three targets (rllib/index.html, rllib/new-api-stack-migration-guide.html, and rllib/checkpoints.html) already return 200 on /en/latest/.

To avoid the GitHub-side gap entirely, hold the merge until 2.60.0 publishes.

Related issues

None. This came out of a docs-team investigation into traffic on the master RLlib docs. The links inside doc/source/ are out of scope here.

Additional information

Duplicate check. Searched open PRs for RLlib docs-link changes (rllib docs.ray.io links, rllib en/master) and found none.

Testing.

  • pre-commit run --files <changed files>: all applicable hooks passed, including ruff, black, pydoclint, the Ray docstyle check, and the master-branch link check.
  • python -m py_compile on the five changed .py files: passed.
  • git grep found no tests that assert on the changed URLs or warning strings.
  • Requested each new URL on docs.ray.io to confirm status codes and anchors, as described above.

AI assistance. This PR was written with AI assistance (Claude Code). I reviewed every changed line.

🤖 Generated with Claude Code

RLlib's algorithm READMEs, algorithm docstrings, and new-API-stack
migration warnings link to https://docs.ray.io/en/master/..., the docs
for Ray's unreleased development branch. Point them at /en/latest/,
which tracks the most recent release.

The algorithm links also used the pre-2.0 path rllib-algorithms.html,
which took two redirects to reach rllib/algorithms.html. Link to that
page directly. Anchors are unchanged and all exist on the target page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Douglas Strodtman <[email protected]>
@dstrodtman
dstrodtman requested a review from a team as a code owner October 23, 2026 13:57

@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 various documentation links across RLlib files, changing the URL path from 'master' to 'latest' and correcting some of the algorithm-specific paths (e.g., from 'rllib-algorithms.html' to 'rllib/algorithms.html'). There are no review comments, and I have no feedback to provide.

@dstrodtman dstrodtman added the go add ONLY when ready to merge, run all tests label Oct 23, 2026
@dstrodtman
dstrodtman merged commit 7a16e9b into master Oct 23, 2026
7 checks passed
@dstrodtman
dstrodtman deleted the djs-261023-rllib-latest-doc-links branch October 23, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants