Skip to content

Fix compiled docs hamburger menu - #7883

Merged
kellyguo11 merged 1 commit into
isaac-sim:developfrom
kellyguo11:codex/fix-docs-hamburger-menu
Sep 18, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:developfrom
kellyguo11:codex/fix-docs-hamburger-menu

Conversation

@kellyguo11

Copy link
Copy Markdown
Contributor

Description

Fix the hamburger menu in compiled documentation by disabling PyData Sphinx Theme's default persistent navbar item injection.

Sphinx Book Theme already renders the primary-sidebar toggle. With the resolved theme versions, PyData also injects a second .primary-toggle; both JavaScript handlers bind to the first match, leaving the visible article-header button inert. Setting navbar_persistent explicitly to an empty list prevents the duplicate toggle.

Type of change

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

Release backport

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

Validation

  • Built the compiled HTML with Sphinx Book Theme 1.4.0 and PyData Sphinx Theme 0.20.0.
  • Verified the output contains exactly one .primary-toggle.
  • Exercised the generated site with real headless Chrome mouse clicks:
    • Desktop: the toggle hides the primary sidebar.
    • Mobile: the toggle opens the primary-sidebar dialog.
  • Targeted Ruff, formatting, whitespace, YAML/TOML, codespell, license, and changelog checks passed.

The repository's locked environment cannot run on macOS ARM, so the prescribed uv docs/format commands stop during platform resolution. A temporary docs environment generated the complete HTML but reported the existing simulator-package import warnings because Isaac Sim packages are unavailable on this platform. GitHub CI remains the authoritative full-platform check.

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
  • Changelog fragment is not applicable because no source package is changed
  • My name already exists in CONTRIBUTORS.md

@kellyguo11
kellyguo11 requested a review from a team September 17, 2026 23:45
@github-actions github-actions Bot added bug Something isn't working documentation Improvements or additions to documentation labels Sep 17, 2026
@greptile-apps

greptile-apps Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge, with no actionable correctness, security, or repository-rule issues identified.

Summary

This PR fixes the compiled documentation’s hamburger menu by disabling PyData Sphinx Theme’s duplicate persistent navbar item injection.

  • Adds an explicit empty navbar_persistent configuration.
  • Leaves Sphinx Book Theme responsible for rendering the primary-sidebar toggle.
  • Applies consistently to the current and multiversion documentation builds.

Reviews (1) · Last reviewed commit: "Fix compiled docs hamburger menu"

@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 one-line documentation configuration change disables PyData Sphinx Theme’s persistent navbar injection, preventing the duplicate primary-sidebar toggle described in the PR. The change is narrowly scoped and consistent with the reported compiled-site validation.

  • Design and architecture: The fix uses the theme’s configuration surface rather than adding custom CSS or JavaScript, preserving ownership of navbar rendering within the Sphinx themes and minimizing maintenance overhead.
  • API: No Isaac Lab Python API, CLI, package export, dependency, or source-package behavior changes. The affected compatibility surface is limited to generated documentation navbar content.
  • Implementation: navbar_persistent is placed correctly in the existing html_theme_options mapping. Setting it to an empty list intentionally suppresses all default persistent navbar entries, not only the duplicate toggle; this is a non-blocking tradeoff covered by checking the resulting compiled navigation and sidebar behavior.

No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.

Automated review; human maintainers own approval decisions.

@kellyguo11

Copy link
Copy Markdown
Contributor Author

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 17, 2026
@kellyguo11
kellyguo11 merged commit 9e0ecd5 into isaac-sim:develop Sep 18, 2026
54 checks passed
kellyguo11 added a commit that referenced this pull request Sep 18, 2026
## Description

Fix the active-release backport workflow after the repository default
branch moved to `develop`.

The failed run for #7883 stopped in the first `actions/checkout@v6`
step. The workflow passed `github.workflow_sha` explicitly; for the
closed merged fork PR, that trusted workflow commit matched a SHA that
checkout v6 conservatively classifies as fork PR code. Checkout
therefore triggered its unsafe-PR guard before any backport logic ran.

Use checkout’s default self-checkout instead. On `pull_request_target`,
that is the action’s supported trusted-ref path, while the workflow
still disables credential persistence and executes only automation
loaded from the base repository.

Related to
https://github.com/isaac-sim/IsaacLab/actions/runs/35333079453/job/105561613398

## Type of change

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

## Release backport

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

## Screenshots

Not applicable.

## Validation

- Verified the trusted automation step uses the default self-checkout
with `path: automation` and `persist-credentials: false`.
- All applicable changed-file pre-commit hooks passed, including YAML
validation, whitespace, license, spelling, merge-conflict, and Git LFS
checks.
- `uv run isaaclab -f` was attempted but the current lockfile supports
Linux and Windows only, so it cannot resolve on this macOS host.
- No source package was changed, so no changelog fragment is required.

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the applicable pre-commit checks
- [x] Documentation changes are not required for this workflow-only fix
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective (no repository
test seam exists for GitHub-hosted `pull_request_target` checkout
behavior)
- [x] No package changelog fragment is required because no
`source/<package>/` code changed
- [x] My name already exists in `CONTRIBUTORS.md`
isaaclab-bot Bot pushed a commit that referenced this pull request Sep 18, 2026
## Description

Fix the active-release backport workflow after the repository default
branch moved to `develop`.

The failed run for #7883 stopped in the first `actions/checkout@v6`
step. The workflow passed `github.workflow_sha` explicitly; for the
closed merged fork PR, that trusted workflow commit matched a SHA that
checkout v6 conservatively classifies as fork PR code. Checkout
therefore triggered its unsafe-PR guard before any backport logic ran.

Use checkout’s default self-checkout instead. On `pull_request_target`,
that is the action’s supported trusted-ref path, while the workflow
still disables credential persistence and executes only automation
loaded from the base repository.

Related to
https://github.com/isaac-sim/IsaacLab/actions/runs/35333079453/job/105561613398

## Type of change

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

## Release backport

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

## Screenshots

Not applicable.

## Validation

- Verified the trusted automation step uses the default self-checkout
with `path: automation` and `persist-credentials: false`.
- All applicable changed-file pre-commit hooks passed, including YAML
validation, whitespace, license, spelling, merge-conflict, and Git LFS
checks.
- `uv run isaaclab -f` was attempted but the current lockfile supports
Linux and Windows only, so it cannot resolve on this macOS host.
- No source package was changed, so no changelog fragment is required.

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the applicable pre-commit checks
- [x] Documentation changes are not required for this workflow-only fix
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective (no repository
test seam exists for GitHub-hosted `pull_request_target` checkout
behavior)
- [x] No package changelog fragment is required because no
`source/<package>/` code changed
- [x] My name already exists in `CONTRIBUTORS.md`

(cherry picked from commit fdc92b4)
kellyguo11 added a commit that referenced this pull request Sep 18, 2026
# Description

Backport the following merged fixes from `develop` to `release/3.0.0`:

- #7883: fix the compiled documentation hamburger menu by disabling
PyData Sphinx Theme's duplicate persistent navbar injection.
- #7885: increase the `scripts/demos/arms.py` standalone smoke-test
startup allowance to 420 seconds.
- #7887: allow sphinx-multiversion historical builds to skip redirects
whose current destinations do not exist in the historical ref, while
keeping current-version builds strict.

The three upstream squash commits cherry-picked cleanly, and each
backport commit has the same stable patch ID as its upstream source
commit.

No additional dependencies are required.

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [x] Documentation update

## Release backport

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

Not applicable: this pull request is itself the backport to
`release/3.0.0`.

## Screenshots

Not applicable.

## Validation

- `tools/test/test_doc_redirects.py`: 4 passed in an isolated `uv`
environment.
- Focused standalone-script configuration tests: 2 passed, 429
deselected in an isolated `uv` environment.
- Changelog validation passed against the fetched
`upstream/release/3.0.0` base.
- All applicable changed-file pre-commit hooks passed, including Ruff,
formatting, whitespace, codespell, license, changelog, and Git LFS
checks.
- `git diff --check` passed.
- Stable patch IDs match the upstream squash commits for #7883, #7885,
and #7887.

The repository's locked environment does not support this macOS ARM
host, so `uv run isaaclab -f` and the prescribed locked documentation
build stop during platform resolution before running. The equivalent
changed-file hooks and focused tests above passed; GitHub CI remains the
authoritative full-platform check.

## 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 applicable pre-commit checks
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no known new warnings
- [x] I have added or preserved tests that prove the fixes are effective
- [x] I have preserved the changelog fragment for the touched package
- [x] My name already exists in `CONTRIBUTORS.md`
ooctipus added a commit that referenced this pull request Sep 20, 2026
…7904)

## Description

Backports ten `develop` PRs to `release/3.0.0`, including the PyTorch
2.12/CUDA 13.0 upgrade, the near-singular OSC fix, and the complete
cfg-first cloning and schema-fragment migrations.

The audit covers September 17, 2026 00:00 UTC through `develop` commit
`4269c29a39e463dd07c74a9704d890d7a5c01e08` (September 19, 23:55 UTC),
against release base `970d21ef48057a2efc3d749c0f2abab8e7e0c30e`.

| Source PR | Included change |
| --- | --- |
| #7777 | Refresh Newton solver transforms after fixed-root pose writes
|
| #7608 | Make direct cloning cfg-first, including assets, callers,
templates, tests, and migration documentation |
| #7895 | Apply the existing CI exclusion for Franka cable/cloth/soft
kitless rendering tests |
| #7872 | Load the CUDA runtime matching PyTorch for Newton graph
capture |
| #7831 | Check authored Newton mesh-collision schema tokens correctly |
| #7834 | Build documentation with the extra that provides Sphinx |
| #7838 | Migrate maintained consumers to physics schema fragments,
including readers and overrides |
| #7840 | Consistently name Isaac Lab 3.1 as the deprecation removal
release |
| #7903 | Handle near-singular operational-space control |
| #7674 | Upgrade PyTorch to 2.12, TorchVision to 0.27, and the CUDA
stack to 13.0, including installer, wheel, and cuRobo compatibility
changes |

All 305 changed non-lock files match the audited `develop` snapshot
exactly. The remaining file, `uv.lock`, matches that snapshot after
substituting the package versions from the release branch's existing
manifests; all 418 package entries were checked. Existing release
package versions, compiled changelogs, documentation routing, and OVRTX
compatibility code remain intact, including the #7880 revert. Source
commit hashes are recorded in the commit messages.

### Already present

#7866, #7870, #7867, #7869, and #7868 were included in #7851; #7819 was
backported by #7884; #7883, #7885, and #7887 were backported by #7889.
#7874, #7888, #7773, #7886, and #7042 were also already present.

The three automatic changelog/version compilation commits are excluded;
the release branch compiles its own fragments and maintains its own
versions.

## Type of change

- Release integration/backport
- Bug fixes and documentation updates
- Breaking changes already accepted for the 3.0 cloning and schema
migrations; their migration guidance and changelog fragments are
included

## Validation

- `uv run --no-sync isaaclab -f`: all checks passed using the existing
shared environment and the release base for changelog validation.
- Focused cloning, OSC feature, schema parity/shim, CLI, and task
configuration suite: **283 passed**.
- Newton fixed-root updates and CUDA runtime/capture regressions: **14
passed**.
- Complete OSC simulation suite: **21 passed**.
- Mesh-collision fragments: **17 passed**; cfg-first cloning
integration: **16 passed**; scene construction/ownership: **7 passed**.
- The above **358 tests passed with PyTorch 2.11**.
- With **PyTorch 2.12/CUDA 13.0**: installer/metadata/Docker tests **91
passed**; CPU/GPU OSC feature tests **17 passed**; complete OSC
simulation suite **21 passed**.
- `uv lock --check`: passed; release package manifests match their
lockfile entries.
- Repository skill validation: **23 skills passed**.
- File-by-file source audit, release-metadata preservation checks, and
`git diff --check`: passed.

Local simulation used RTX 5090 and Isaac Sim 6.0.1 with PyTorch 2.11 and
2.12. The full Docker image build and fresh installation matrix were not
rerun locally for this backport. Release CI uses its pinned Isaac Sim
6.1 image and remains the authoritative full integration check.
Kit-dependent suites run in separate processes to avoid loading
standalone USD before Kit.

## Release backport

Not applicable: this PR targets `release/3.0.0` directly.

## Checklist

- [x] Ran the complete pre-commit command.
- [x] Included the original migration documentation, regression tests,
and changelog fragments for every changed package.
- [x] Preserved source attribution and recorded every source commit.
- [x] Preserved the release branch's versions and existing
release-specific changes.

---------

Co-authored-by: vidurv-nvidia <[email protected]>
Co-authored-by: ooctipus <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant