Skip to content

Added windows instructions to leapp docs - #5797

Merged
kellyguo11 merged 2 commits into
isaac-sim:release/3.0.0-beta2from
frlai:frlai/windows_installation_commands_for_leapp-release
May 27, 2026
Merged

kellyguo11 merged 2 commits into
isaac-sim:release/3.0.0-beta2from
frlai:frlai/windows_installation_commands_for_leapp-release

Conversation

@frlai

@frlai frlai commented May 27, 2026 •

Copy link
Copy Markdown
Collaborator

cherry pick of #5789

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 27, 2026
@greptile-apps

greptile-apps Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds Windows-specific instructions to two LEAPP export documentation pages by converting existing Linux-only code-block directives into tab-set sections with synchronized Linux and Windows tabs.

  • exporting_policies_with_leapp.rst: Two export command examples (generic and UR10-specific) now show both isaaclab.sh (Linux) and isaaclab.bat (Windows) variants with backslash paths and ^ line continuation.
  • exporting_direct_workflow_policies_with_leapp.rst: The cp file-copy step and the export script invocation are each wrapped in matching Linux/Windows tabs, using the Windows copy command with correct batch syntax.

Confidence Score: 4/5

Documentation-only change adding Windows tab variants; no code logic is affected and the batch commands are syntactically correct.

Both files are pure RST documentation. The Windows batch commands use correct ^ line continuation and backslash paths, and the tab-set sync pattern matches what was already present in the files. The only minor issue is a placeholder formatting inconsistency between the Linux and Windows tabs in one example.

No files require special attention beyond the minor placeholder inconsistency in exporting_policies_with_leapp.rst.

Important Files Changed

Filename Overview
docs/source/policy_deployment/05_leapp/exporting_policies_with_leapp.rst Converts two plain bash code blocks for the export commands into tabbed OS-specific sections (Linux + Windows), adding batch equivalents with backslash paths and ^ line continuation. Minor placeholder formatting inconsistency between tabs.
docs/source/tutorials/06_exporting/exporting_direct_workflow_policies_with_leapp.rst Converts the cp and export script code blocks into tabbed Linux/Windows sections. The Windows copy command with ^ continuation and backslash paths is correct.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[User opens LEAPP export docs] --> B{OS tab selected}
    B -->|Linux| C["code-block:: bash\n./isaaclab.sh ..."]
    B -->|Windows| D["code-block:: batch\nisaaclab.bat ..."]
    C --> E[Export policy artifacts]
    D --> E
Loading

Reviews (1): Last reviewed commit: "Merge branch 'release/3.0.0-beta2' into ..." | Re-trigger Greptile

Comment on lines +106 to +108
./isaaclab.sh -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 link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 The Linux tab uses < date timestamp > (with surrounding spaces inside the angle brackets) while the Windows tab uses <date timestamp> (no extra spaces). These placeholder styles don't match, which could be mildly confusing when a reader toggles between tabs. Aligning them improves consistency.

Suggested change
./isaaclab.sh -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.sh -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

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@kellyguo11
kellyguo11 merged commit bf6f6b8 into isaac-sim:release/3.0.0-beta2 May 27, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants