Repository navigation
Added windows instructions to leapp docs - #5789
kellyguo11 merged 1 commit into
Conversation
There was a problem hiding this comment.
Thanks for adding Windows instructions for the LEAPP documentation! This is a valuable addition for Windows users.
Overall Impression
Clean and well-structured changes that correctly add tabbed code blocks for Windows alongside the existing Linux commands.
Minor Observations
Inconsistent placeholder formatting (very minor):
In exporting_policies_with_leapp.rst, the Windows example uses <date timestamp> (no spaces) while the Linux example uses < date timestamp > (with spaces). Consider using consistent formatting for placeholders across both tabs.
# Linux:
--checkpoint logs/rsl_rl/ur10_reach/< date timestamp >/model_4999.pt
# Windows:
--checkpoint logs\rsl_rl\ur10_reach\<date timestamp>\model_4999.pt
This is cosmetic only and does not affect functionality.
Verification
✅ Windows batch syntax is correct (^ for line continuation, isaaclab.bat instead of ./isaaclab.sh)
✅ Path separators are properly converted to backslashes for Windows
✅ RST tab-set structure with sync-group is correct
✅ copy command correctly used instead of cp for Windows
CI Note
The "Check for Broken Links" failure appears to be a pre-existing issue with external URL redirects (tensorflow.org, etc.) and is unrelated to this PR.
LGTM pending the optional consistency fix above.
Greptile SummaryThis PR adds Windows-specific instructions to two LEAPP export documentation pages by wrapping existing Linux
Confidence Score: 4/5Documentation-only change; no runtime code is affected and the batch syntax used is correct. The Windows instructions are well-formed and use the correct isaaclab.bat, backslash paths, and ^ line continuation. Two minor polish issues exist: the placeholder spacing is inconsistent between Linux and Windows tabs, and the copy command is missing /Y which could surprise users on repeat runs. Both changed files are worth a quick pass; the copy /Y flag in exporting_direct_workflow_policies_with_leapp.rst and the placeholder spacing in exporting_policies_with_leapp.rst are the only items to revisit. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[User reads LEAPP export docs] --> B{OS tab selected}
B -->|Linux| C[bash code block
./isaaclab.sh ...]
B -->|Windows| D[batch code block
isaaclab.bat ...]
C --> E[Export policy]
D --> E
E --> F[Exported artifacts
.onnx / .pt / metadata]
Reviews (1): Last reviewed commit: "added more windows tabs" | Re-trigger Greptile |
| isaaclab.bat -p scripts\reinforcement_learning\leapp\rsl_rl\export.py ^ | ||
| --task Isaac-Reach-UR10-v0 ^ | ||
| --checkpoint logs\rsl_rl\ur10_reach\<date timestamp>\model_4999.pt |
There was a problem hiding this comment.
The placeholder format for the Windows example omits the spaces that appear in the Linux version (
< date timestamp > vs <date timestamp>), making the two tabs inconsistent. Since this is a placeholder, both should match the same convention so readers see a uniform pattern when they switch tabs.
| isaaclab.bat -p scripts\reinforcement_learning\leapp\rsl_rl\export.py ^ | |
| --task Isaac-Reach-UR10-v0 ^ | |
| --checkpoint logs\rsl_rl\ur10_reach\<date timestamp>\model_4999.pt | |
| isaaclab.bat -p scripts\reinforcement_learning\leapp\rsl_rl\export.py ^ | |
| --task Isaac-Reach-UR10-v0 ^ | |
| --checkpoint logs\rsl_rl\ur10_reach\< date timestamp >\model_4999.pt |
| copy scripts\tutorials\06_deploy\anymal_c_env.py ^ | ||
| source\isaaclab_tasks\isaaclab_tasks\direct\anymal_c\anymal_c_env.py |
There was a problem hiding this comment.
The Windows
copy command, unlike Linux cp, will interactively prompt "Overwrite? (Yes/No/All):" if the destination file already exists. Users following this tutorial a second time (e.g., after re-annotating) will see an unexpected interactive prompt. Adding the /Y flag suppresses this and makes the Windows tab behave like its Linux counterpart.
| copy scripts\tutorials\06_deploy\anymal_c_env.py ^ | |
| source\isaaclab_tasks\isaaclab_tasks\direct\anymal_c\anymal_c_env.py | |
| copy /Y scripts\tutorials\06_deploy\anymal_c_env.py ^ | |
| source\isaaclab_tasks\isaaclab_tasks\direct\anymal_c\anymal_c_env.py |
|
pls also create a cherry-pick PR for the release branch |
cherry pick of #5789 ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
Fixes # (issue)
Adds windows documentation for leapp export. builds on top of #5726 where some changes were forgotten
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there