Skip to content

[Docs] Add interactive demos command builder - #7641

Merged
kellyguo11 merged 4 commits into
isaac-sim:developfrom
StafaH:docs/demos-command-builder
Sep 9, 2026
Merged

kellyguo11 merged 4 commits into
isaac-sim:developfrom
StafaH:docs/demos-command-builder

Conversation

@StafaH

@StafaH StafaH commented Sep 8, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Rename the Showroom Demos page to Demos and move it into the primary Isaac Lab navigation between Tutorial and the 3.0 migration guide.

Replace the repeated platform-specific command blocks with one interactive uv run command builder. Demo cards select the script, physics and visualizer dropdowns expose only supported combinations, and the builder adds required extras for Isaac Sim, OV PhysX, deformables, teleoperation, Rerun, and Viser automatically.

No new dependencies are introduced.

Type of change

  • Documentation update

Release backport

  • Backport this pull request to the active release branch after it merges into develop

Screenshots

Verified the rendered page locally at 1440 px and 390 px widths, including all preview images and interactive states.

Validation

  • uv run --frozen python -m pytest source/isaaclab/test/app/test_standalone_scripts.py --no-header -q (44 passed, 386 skipped)
  • uv run --isolated --extra dev -- make -C docs current-docs (warning-free)
  • Headless Chrome interaction checks across 17 cards and backend-specific command combinations
  • SKIP=check-changelog-fragments uv run --frozen isaaclab -f (all remaining hooks passed)

The changelog hook was run separately but compares against the stale origin/develop ref in this fork, so it reports unrelated upstream fragments. This branch includes the required isaaclab .skip fragment.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks applicable to this change
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove the documentation metadata matches the demo launch contracts
  • I have added a changelog fragment for the touched package
  • My name already exists in CONTRIBUTORS.md

@StafaH
StafaH requested a review from a team September 8, 2026 14:09
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Sep 8, 2026
@greptile-apps

greptile-apps Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR replaces the showroom page with a primary-navigation Demos page containing an interactive command builder, demo cards, responsive styling, automatic optional-extra selection, and metadata contract tests.

  • Registers the new JavaScript, CSS, and flattened demo preview assets with Sphinx.
  • Builds commands from selected demo, physics backend, visualizer, required extras, and fixed arguments.
  • Moves the page into the setup navigation and removes the former showroom page.
  • Updates standalone-script tests to compare demo-card metadata with launch specifications.

Confidence Score: 4/5

The PR appears safe to merge, with non-blocking documentation usability and metadata-test coverage improvements recommended.

No blocking runtime failure was established, but H1 operating instructions become undiscoverable and the new test leaves the command builder's per-physics compatibility metadata unchecked.

Files Needing Attention: docs/source/setup/demos.rst; source/isaaclab/test/app/test_standalone_scripts.py

Important Files Changed

Filename Overview
docs/source/_static/css/demo-browser.js Implements demo selection, compatibility filtering, optional-extra derivation, command rendering, and clipboard behavior.
docs/source/setup/demos.rst Defines the interactive builder and 17 metadata-driven demo cards, but drops discoverable H1 operating instructions.
source/isaaclab/test/app/test_standalone_scripts.py Validates aggregate card metadata against script specifications but does not validate per-physics visualizer overrides.
docs/conf.py Registers the demo asset directory and new browser CSS and JavaScript files.
docs/index.rst Moves the renamed Demos page into the primary setup navigation.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  Card[Select demo card] --> Physics[Populate supported physics choices]
  Physics --> Visualizer[Populate visualizers using per-physics overrides]
  Visualizer --> Extras[Derive required optional extras]
  Extras --> Command[Render uv run command]
  Command --> Copy[Copy command]
Loading

Reviews (1): Last reviewed commit: "Add interactive demos command builder" | Re-trigger Greptile

Comment on lines +196 to +197
The H1 locomotion and pick-and-place demos require interactive keyboard or mouse input. Haply teleoperation requires
Inverse3 and VerseGrip devices and a running Haply WebSocket service. Cables are a Newton-only asset; see

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 H1 Controls Are Missing

The replacement page says that the H1 demo requires keyboard or mouse input, but it removes the key bindings and selection instructions from the old page. The script's command-line help does not expose these controls, so users can launch the demo without any discoverable explanation of how to operate it. Please preserve the control map here or link to equivalent documentation.

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!

Comment on lines 139 to 144
expected_physics = {backend for _, backend in spec.physics_backends}
expected_visualizers = set(spec.visualizers)
assert documented_values(entry, "Physics") == expected_physics, f"{path} documents incorrect physics options"
assert documented_values(entry, "Visualizer") == expected_visualizers, (
assert set(entry["physics"].split(",")) == expected_physics, f"{path} documents incorrect physics options"
assert set(entry["visualizers"].split(",")) == expected_visualizers, (
f"{path} documents incorrect visualizer options"
)

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 Overrides Remain Unvalidated

This test checks only the aggregate physics and visualizers attributes, but the command builder uses per-physics visualizers-* overrides to filter compatible choices. A missing, misspelled, or incorrect override could expose unsupported command combinations while this test still passes. Please validate each override against the corresponding launch matrix.

@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.

Isaac Lab Review Bot

The interactive Demos page and command-builder integration are coherent, but replacing the Showroom page removes important per-demo operating instructions and configuration guidance that users still need.

  • Design and architecture: The data-attribute-driven card and selector design is consistent with the existing environment browser. However, reducing each demo to a short card description drops H1 and pick-and-place controls, cable and heterogeneous-scene tuning options, Haply setup references, and related behavioral notes. Preserve that guidance on the new page or link to an appropriate maintained location.
  • API: The generated script paths, physics and visualizer arguments, fixed-physics handling, and demo-specific arguments were traced without identifying a supported API incompatibility. The user-facing documentation contract is incomplete because required operating guidance was removed during the page replacement.
  • Implementation: Static asset registration, visualizer-override dataset lookup, image paths, and the rewritten card-metadata test are internally consistent. The implementation should restore the removed per-demo instructions alongside the interactive builder.

Minor fixes needed. Posted 1 actionable finding inline.

Automated review; human maintainers own approval decisions.

</div>
</div>

The H1 locomotion and pick-and-place demos require interactive keyboard or mouse input. Haply teleoperation requires

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.

🟡 Warning · Design Architecture — Per-demo usage guidance dropped

The removed showroom page documented behavior this page does not carry over: H1 locomotion keyboard/mouse controls and selection error messages, pick-and-place key bindings, --num_cables/--num_segments, --num_task/--num_envs, and the haply-teleoperation setup reference. The stated intent was to replace command blocks only, so this user-facing guidance is lost silently. Re-add the per-demo notes or link to them from the builder page.

@StafaH StafaH changed the title Add interactive demos command builder [Docs] Add interactive demos command builder Sep 8, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 9, 2026
@kellyguo11
kellyguo11 merged commit 649ef3f into isaac-sim:develop Sep 9, 2026
22 checks passed
isaaclab-bot Bot pushed a commit that referenced this pull request Sep 9, 2026
# Description

Rename the Showroom Demos page to Demos and move it into the primary
Isaac Lab navigation between Tutorial and the 3.0 migration guide.

Replace the repeated platform-specific command blocks with one
interactive `uv run` command builder. Demo cards select the script,
physics and visualizer dropdowns expose only supported combinations, and
the builder adds required extras for Isaac Sim, OV PhysX, deformables,
teleoperation, Rerun, and Viser automatically.

No new dependencies are introduced.

## Type of change

- Documentation update

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## Screenshots

Verified the rendered page locally at 1440 px and 390 px widths,
including all preview images and interactive states.

## Validation

- `uv run --frozen python -m pytest
source/isaaclab/test/app/test_standalone_scripts.py --no-header -q` (44
passed, 386 skipped)
- `uv run --isolated --extra dev -- make -C docs current-docs`
(warning-free)
- Headless Chrome interaction checks across 17 cards and
backend-specific command combinations
- `SKIP=check-changelog-fragments uv run --frozen isaaclab -f` (all
remaining hooks passed)

The changelog hook was run separately but compares against the stale
`origin/develop` ref in this fork, so it reports unrelated upstream
fragments. This branch includes the required `isaaclab` `.skip`
fragment.

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks applicable to this change
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove the documentation metadata matches
the demo launch contracts
- [x] I have added a changelog fragment for the touched package
- [x] My name already exists in `CONTRIBUTORS.md`

---------

Signed-off-by: Kelly Guo <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>

(cherry picked from commit 649ef3f)
@isaaclab-bot

isaaclab-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as bf8f058.

@StafaH
StafaH deleted the docs/demos-command-builder branch September 13, 2026 12:11
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 isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants