Skip to content

Add windows docs for leapp installation - #5726

Merged
kellyguo11 merged 1 commit into
isaac-sim:developfrom
frlai:frlai/add_windows_installation_commands_for_leapp
May 21, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:developfrom
frlai:frlai/add_windows_installation_commands_for_leapp

Conversation

@frlai

@frlai frlai commented May 21, 2026

Copy link
Copy Markdown
Collaborator

Description

adds tabbed installation guide for leapp to support windows workflows.

Type of change

  • Documentation update

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 21, 2026

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

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.

Documentation Review

This PR adds Windows installation instructions for LEAPP using tabbed documentation, which is a helpful improvement for cross-platform users.

✅ Strengths

  • Consistent implementation: Both modified files use identical tab-set structure with proper sync-group: os for synchronized tab switching across the documentation
  • Correct syntax: Uses appropriate code-block:: batch for Windows commands vs code-block:: bash for Linux
  • Proper Isaac Lab conventions: Uses isaaclab.bat for Windows which aligns with the project's cross-platform tooling

📝 Minor Observations

  1. Tab icons: The FontAwesome icons (:icon:\fa-brands fa-linux`and:icon:`fa-brands fa-windows`) look correct for Sphinx with the sphinx-design` extension
  2. Sync keys: The sync: linux and sync: windows keys will properly synchronize tab selection across sections

✅ CI Status

  • Pre-commit checks: ✅ Passed
  • Broken links check: ✅ Passed
  • Changelog fragments: ✅ Passed
  • Docs build: ⏳ Pending (normal for new PRs)

Verdict

LGTM 👍 - Clean documentation enhancement that follows existing patterns in the codebase. No issues found.

@greptile-apps

greptile-apps Bot commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds OS-specific tabbed installation instructions for LEAPP in two documentation files, giving Windows users the correct isaaclab.bat command while Linux users continue to see ./isaaclab.sh. The sync-group: os attribute ensures the tab selection is synchronized across the page.

  • The pip install leapp step is now correctly tabbed in both exporting_policies_with_leapp.rst and exporting_direct_workflow_policies_with_leapp.rst.
  • Several downstream commands in the same files (./isaaclab.sh -p scripts/... for export, and cp for file copying) remain Linux-only and were not tabbed, leaving the Windows workflow incomplete beyond the installation step.

Confidence Score: 4/5

Safe to merge; the added tab sets are correctly structured RST and do not break existing Linux documentation.

The tabbed installation blocks use the correct sync-group pattern and leave Linux users unaffected. The gap is that the Windows path ends at the install step — the export commands and the cp file-copy command later in both documents are still Linux-only, so a Windows user following the guide end-to-end would hit untranslated shell syntax.

Both changed files have untabbed follow-on commands (./isaaclab.sh export invocations and a cp call in the tutorial) that should be reviewed for Windows equivalents.

Important Files Changed

Filename Overview
docs/source/policy_deployment/05_leapp/exporting_policies_with_leapp.rst Adds OS-synced tab set for the pip install leapp command, providing a Windows (isaaclab.bat) alternative. The downstream export commands at lines 77 and 85 still use ./isaaclab.sh and are not tabbed.
docs/source/tutorials/06_exporting/exporting_direct_workflow_policies_with_leapp.rst Adds OS-synced tab set for pip install leapp with Windows support. The cp command (line 51) and ./isaaclab.sh export command (line 59) remain Linux-only, leaving the Windows workflow incomplete.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[User opens LEAPP doc page] --> B{tab-set sync-group: os}
    B -->|Linux tab selected| C["./isaaclab.sh -p -m pip install leapp"]
    B -->|Windows tab selected| D["isaaclab.bat -p -m pip install leapp"]
    C --> E["./isaaclab.sh -p scripts/.../export.py\n(Linux only - not tabbed)"]
    D --> E2["isaaclab.bat -p scripts/.../export.py\n(missing - not provided)"]
    E --> F[Export complete]
    E2 -.->|broken path| X["Windows user stuck"]
Loading

Comments Outside Diff (2)

  1. docs/source/policy_deployment/05_leapp/exporting_policies_with_leapp.rst, line 75-87 (link)

    P2 Remaining Linux-only export commands

    The ./isaaclab.sh export commands on lines 77 and 85 were not tabbed for Windows alongside the installation step. A Windows user following this guide would see isaaclab.bat for installation but then encounter ./isaaclab.sh -p scripts/... for the actual export — making the Windows workflow incomplete. The Windows equivalent would be isaaclab.bat -p scripts/reinforcement_learning/leapp/rsl_rl/export.py ....

  2. docs/source/tutorials/06_exporting/exporting_direct_workflow_policies_with_leapp.rst, line 49-62 (link)

    P2 Linux-only cp and export commands not tabbed for Windows

    This file tabs the pip install step for Windows, but the cp command (line 51) and the ./isaaclab.sh export command (line 59) remain Linux-only. The cp command does not exist on Windows Command Prompt (copy / xcopy / robocopy are used instead). A Windows user who selected the Windows tab for installation would still be left with a broken workflow for these two subsequent steps.

Reviews (1): Last reviewed commit: "updated docs" | Re-trigger Greptile

@kellyguo11
kellyguo11 merged commit 29db576 into isaac-sim:develop May 21, 2026
39 checks passed
kellyguo11 added a commit that referenced this pull request May 22, 2026
…726) (#5741)

# Description

[#5723 Documents
JointDrivePropertiesCfg.ensure_drives_exist](#5723)

[#5726 Add windows docs for leapp
installation](#5726)

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)


## Checklist

- [ ] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) 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

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->

---------

Co-authored-by: Antoine RICHARD <[email protected]>
Co-authored-by: frlai <[email protected]>
@frlai frlai mentioned this pull request May 26, 2026
7 tasks done
kellyguo11 pushed a commit that referenced this pull request May 27, 2026
Fixes # (issue)
Adds windows documentation for leapp export. builds on top of
#5726 where some changes were
forgotten

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Documentation update

## 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
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