Skip to content

Commit 72d742e

Browse files
BriceZembaclaude
andauthored
fix(stable-baselines3): repair broken API reference links (#233)
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>
1 parent 7b0386d commit 72d742e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

skills/stable-baselines3/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ license: MIT license
55
allowed-tools: Read Write Edit Bash
66
compatibility: Requires Python 3.10+, PyTorch >= 2.3, and stable-baselines3 2.8+. Gymnasium environments; optional extras for TensorBoard and Atari (ale-py).
77
metadata:
8-
version: "1.1"
8+
version: "1.2"
99
skill-author: K-Dense Inc.
1010
---
1111

skills/stable-baselines3/references/callbacks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,5 +567,5 @@ class DebugCallback(BaseCallback):
567567
## Additional Resources
568568

569569
- Official SB3 Callbacks Guide: https://stable-baselines3.readthedocs.io/en/master/guide/callbacks.html
570-
- Callback API Reference: https://stable-baselines3.readthedocs.io/en/master/common/callbacks.html
570+
- Callback API Reference: https://stable-baselines3.readthedocs.io/en/master/guide/callbacks.html#module-stable_baselines3.common.callbacks
571571
- TensorBoard Documentation: https://www.tensorflow.org/tensorboard

skills/stable-baselines3/references/vectorized_envs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,5 +576,5 @@ model = PPO.load("model", env=eval_env)
576576
## Additional Resources
577577

578578
- Official SB3 VecEnv Guide: https://stable-baselines3.readthedocs.io/en/master/guide/vec_envs.html
579-
- VecEnv API Reference: https://stable-baselines3.readthedocs.io/en/master/common/vec_env.html
579+
- VecEnv API Reference: https://stable-baselines3.readthedocs.io/en/master/guide/vec_envs.html#module-stable_baselines3.common.vec_env
580580
- Multiprocessing Best Practices: https://docs.python.org/3/library/multiprocessing.html

0 commit comments

Comments
 (0)