Fix broken links in examples/4_train_policy_with_script.md
#697
+7
−7
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.
What this does
This PR fixes 7 broken relative path links in the
examples/4_train_policy_with_script.md
file by updating the relative path prefix from../../
to../
:../../lerobot/scripts/train.py
→../lerobot/scripts/train.py
../../lerobot/configs/train.py
→../lerobot/configs/train.py
../../lerobot/common/policies/diffusion
→../lerobot/common/policies/diffusion
../../lerobot/common/policies
→../lerobot/common/policies
../../lerobot/common/envs/configs.py
→../lerobot/common/envs/configs.py
../../lerobot/common/policies/act
→../lerobot/common/policies/act
../../lerobot/common/envs/configs.py
→../lerobot/common/envs/configs.py
For example:
lerobot/scripts/train.py
link (displayed as blue hyperlinks in the screenshot below) in the GitHub preview ofexamples/4_train_policy_with_script.md
, a '404 - Page not found' message is shown:[lerobot/scripts/train.py](../../lerobot/scripts/train.py)
to[lerobot/scripts/train.py](../lerobot/scripts/train.py)
, the link correctly directs to the intended page, as shown in the following screenshot:How it was tested
Since this PR only modifies an example document written in Markdown format, I tested the changes as described in the
How to checkout & try?
section below.How to checkout & try? (for the reviewer)
examples/4_train_policy_with_script.md
on GitHub.