Repository navigation
[RLlib] Point RLlib doc links at the released docs - #67328
Merged
Merged
Conversation
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]>
Contributor
There was a problem hiding this comment.
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.
pseudo-rnd-thoughts
approved these changes
Oct 23, 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
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 inpython/ray/rllib/at/en/latest/, which tracks the most recent release.The links are in three places:
rllib-algorithms.html, which takes two 301 redirects to reach the current page (/rllib-algorithms.htmlto/rllib/rllib-algorithms.htmlto/rllib/algorithms.html). They now link torllib/algorithms.htmldirectly. 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.AlgorithmConfigandSACConfig(2 links). Users see these when they upgrade, so the link should match released docs.Every replacement is the same length as the original, so no line wrapping or formatting changed.
Timing: the algorithms page reaches
/latestwith 2.60.0rllib/algorithms.htmlcomes from the filename rename in #66060, which is onreleases/2.60.0but not in 2.59.0, the current/latest. Until 2.60.0 publishes,https://docs.ray.io/en/latest/rllib/algorithms.htmlreturns 404, and the old name/en/latest/rllib/rllib-algorithms.htmlstill 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/latestserves the new page. The other three targets (rllib/index.html,rllib/new-api-stack-migration-guide.html, andrllib/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
masterRLlib docs. The links insidedoc/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_compileon the five changed.pyfiles: passed.git grepfound no tests that assert on the changed URLs or warning strings.AI assistance. This PR was written with AI assistance (Claude Code). I reviewed every changed line.
🤖 Generated with Claude Code