fix(stable-baselines3): repair broken API reference links - #233
Merged
TKassis merged 1 commit intoAug 29, 2026
Merged
Conversation
The "API Reference" bullets in references/callbacks.md and references/vectorized_envs.md pointed at `/en/master/common/callbacks.html` and `/en/master/common/vec_env.html`, which both return 404. Upstream Stable-Baselines3 documents the `stable_baselines3.common.callbacks` and `stable_baselines3.common.vec_env` modules on the same pages as their narrative guides, not under `common/`. Repoint both links at the module anchors on the guide pages: - guide/callbacks.html#module-stable_baselines3.common.callbacks - guide/vec_envs.html#module-stable_baselines3.common.vec_env Both targets and both anchors were verified against the live docs and the upstream genindex. The "Official ... Guide" bullet directly above each one already used the correct `guide/` path, so the two `common/` URLs were inconsistent within their own files. Bump metadata.version to "1.2". Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Repairs broken Stable-Baselines3 documentation links inside the stable-baselines3 skill by updating two “API Reference” URLs that were pointing to non-existent upstream common/ pages, and bumps the skill metadata version to reflect the documentation change.
Changes:
- Updated “Callback API Reference” link to the correct
guide/callbacks.html#module-...anchor. - Updated “VecEnv API Reference” link to the correct
guide/vec_envs.html#module-...anchor. - Bumped
skills/stable-baselines3skillmetadata.versionfrom"1.1"to"1.2".
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| skills/stable-baselines3/SKILL.md | Bumps metadata.version to reflect the doc fix. |
| skills/stable-baselines3/references/vectorized_envs.md | Fixes the VecEnv API reference URL to a working upstream module anchor. |
| skills/stable-baselines3/references/callbacks.md | Fixes the callbacks API reference URL to a working upstream module anchor. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
TKassis
approved these changes
Aug 29, 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.
Two "API Reference" links in the
stable-baselines3skill return 404.Broken
skills/stable-baselines3/references/callbacks.md:570https://stable-baselines3.readthedocs.io/en/master/common/callbacks.html— 404skills/stable-baselines3/references/vectorized_envs.md:579https://stable-baselines3.readthedocs.io/en/master/common/vec_env.html— 404Cause
Upstream Stable-Baselines3 documents
stable_baselines3.common.callbacksandstable_baselines3.common.vec_envon the same pages as their narrative guides.There is no
common/path for either module.The "Official ... Guide" bullet directly above each broken link already used the
correct
guide/path, so the twocommon/URLs were inconsistent within theirown files.
Fix
Repointed both at the module anchors on the guide pages, which keeps the
"Guide" and "API Reference" bullets pointing at distinct targets:
guide/callbacks.html#module-stable_baselines3.common.callbacksguide/vec_envs.html#module-stable_baselines3.common.vec_envVerification
id="module-stable_baselines3.common.callbacks",id="module-stable_baselines3.common.vec_env") confirmed present in therendered HTML.
genindex.html, which resolves everystable_baselines3.common.callbacks.*andstable_baselines3.common.vec_env.*entry to these guide pages — confirming no
common/page exists.uv run skills-ref validate ./skills/stable-baselines3passes.uv run --with pytest python -m pytest tests/_meta -qshows no new failuresagainst a pre-change baseline.
Notes
metadata.versionfrom"1.1"to"1.2"per CONTRIBUTING.scripts/touched, so no security scan was run.