Skip to content

Commit bba9902

Browse files
authored
Fix broken links in reinforcement.ppo doc (#3575)
cc @sekyondaMeta @AlannaBurke
1 parent 844f8da commit bba9902

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

intermediate_source/reinforcement_ppo.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
2626
We will cover six crucial components of TorchRL:
2727
28-
* `environments <https://pytorch.org/rl/reference/envs.html>`__
29-
* `transforms <https://pytorch.org/rl/reference/envs.html#transforms>`__
30-
* `models (policy and value function) <https://pytorch.org/rl/reference/modules.html>`__
31-
* `loss modules <https://pytorch.org/rl/reference/objectives.html>`__
32-
* `data collectors <https://pytorch.org/rl/reference/collectors.html>`__
33-
* `replay buffers <https://pytorch.org/rl/reference/data.html#replay-buffers>`__
28+
* `environments <https://docs.pytorch.org/rl/stable/reference/envs.html>`__
29+
* `transforms <https://docs.pytorch.org/rl/stable/reference/envs.html#transforms>`__
30+
* `models (policy and value function) <https://docs.pytorch.org/rl/stable/reference/modules.html>`__
31+
* `loss modules <https://docs.pytorch.org/rl/stable/reference/objectives.html>`__
32+
* `data collectors <https://docs.pytorch.org/rl/stable/reference/collectors.html>`__
33+
* `replay buffers <https://docs.pytorch.org/rl/stable/reference/data.html#replay-buffers>`__
3434
3535
"""
3636

@@ -466,7 +466,7 @@
466466
# Data collector
467467
# --------------
468468
#
469-
# TorchRL provides a set of `DataCollector classes <https://pytorch.org/rl/reference/collectors.html>`__.
469+
# TorchRL provides a set of `DataCollector classes <https://docs.pytorch.org/rl/stable/reference/collectors.html>`__.
470470
# Briefly, these classes execute three operations: reset an environment,
471471
# compute an action given the latest observation, execute a step in the environment,
472472
# and repeat the last two steps until the environment signals a stop (or reaches

0 commit comments

Comments
 (0)