Skip to content

[Docs] Use uv CLI for Windows documentation builds - #8179

Merged
StafaH merged 6 commits into
isaac-sim:developfrom
StafaH:fix/windows-uv-docs
Sep 30, 2026
Merged

StafaH merged 6 commits into
isaac-sim:developfrom
StafaH:fix/windows-uv-docs

Conversation

@StafaH

@StafaH StafaH commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Use the existing uv-backed isaaclab --docs command for current documentation on Windows and Linux. Add isaaclab --docs_multi for the multi-version build, remove the obsolete Windows batch script, and simplify docs/README.md to use the same commands on both platforms.

Set an explicit Isaac Sim intersphinx inventory URL. The single-slash inventory URL returns 200; the double-slash URL reported in the issue returns 404. Add a Windows docs build check for PRs that change docs or the CLI.

Documentation builds reuse the repository uv environment with the dev extra. Current builds clear HTML output and doctrees before running Sphinx. Missing multi-version redirect targets report an actionable CLI error.

Fixes #5273.

Type of change

  • Bug fix
  • Documentation update

Validation

  • Focused CLI tests with uv-managed Python — 9 passed. Covered current output/cache cleanup, --docs_multi dispatch, redirect generation and ref override, and missing-ref failure.

  • Full local current-documentation Sphinx build passed without warnings using the existing uv-managed environment. The corrected deprecated-material link was verified in rendered HTML.

  • Repository formatting and lint hooks passed. Changelog fragments passed against the upstream base; the fork's local origin/develop is stale.

  • Windows build is covered by the PR workflow and will run on this update.

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

@StafaH
StafaH requested a review from a team September 30, 2026 02:13
@github-actions github-actions Bot added bug Something isn't working documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team infrastructure labels Sep 30, 2026
@greptile-apps

greptile-apps Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

[Medium risk] Replaces Windows batch build script with unified CLI command.

The PR appears safe to merge, though the stale-output behavior and duplicate Windows CI installation are worth addressing.

Findings

  1. P2 Old documentation pages remain ▶
  2. P2 Windows build installs dependencies twice ▶

Summary

The PR moves Windows documentation builds to the uv-backed Isaac Lab CLI, adds a multi-version CLI option and a Windows PR check, and specifies the Isaac Sim intersphinx inventory.

  • The current-version replacement no longer clears old HTML output.
  • The new Windows check provisions the project dependency environment twice.

Reviews (1) · Last reviewed commit: "Use uv CLI for Windows documentation bui..."

template = (docs_dir / "_redirect" / "index.html").read_text(encoding="utf-8")
(out_dir / "index.html").write_text(template.replace("__DOCS_DEFAULT_REF__", default_ref), encoding="utf-8")
else:
out_dir /= "current"

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 Old documentation pages remain

The removed Windows batch command deleted _build/current before each build, but this replacement builds into the existing directory. If a page is removed or renamed, its old HTML can remain and appear to be current documentation. Clear the output directory before rebuilding.

Suggested change
out_dir /= "current"
out_dir /= "current"
if out_dir.exists():
shutil.rmtree(out_dir)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. The current HTML output is removed before each build. Doctrees now live inside that directory and are removed with it. The existing docs test checks that stale output is gone before Sphinx starts and that other built versions are preserved.

Comment thread .github/workflows/docs-windows.yaml Outdated
python-version: '3.12'
enable-cache: true
- name: Build current documentation
run: uv run isaaclab --docs

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 Windows build installs dependencies twice

On a fresh Windows runner, this uv run installs the root project's dependencies to launch the CLI. The CLI then starts a second, isolated uv run with the documentation dependencies. Provisioning the large project dependency graph twice adds avoidable build time and another chance for an install failure before Sphinx starts.

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!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. Removed the isolated child environment. The CLI now reuses the repository uv environment, and Windows CI and the documented commands select the dev extra at launch so the dependencies are provisioned in one environment.

@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 uv-backed cross-platform documentation build is a sound consolidation, but four concrete issues need correction before merge: the new CLI option violates the repository’s snake_case convention, the multi-version default changes from develop to a hardcoded release tag, the new parameter is undocumented, and a normal CLI validation failure produces a traceback instead of the established error path.

  • Design and architecture: Centralizing Windows and Linux documentation builds in command_build_docs appropriately removes duplicated platform-specific build logic. The multi-version build and redirect rendering are coherently owned by the same command, but its default-ref policy should preserve the behavior of the batch workflow it replaces rather than embedding v3.0.0-EA in the implementation.
  • API: The new multi_version=False parameter preserves existing command_build_docs() callers, and dispatch correctly maps the parsed option to command_build_docs(multi_version=True). However, the public option --docs-multi conflicts with the repository rule requiring snake_case CLI arguments; use --docs_multi consistently in the parser, documentation, and changelog. The new multi_version parameter also needs a Google-style Args: entry documenting its behavior and DOCS_DEFAULT_REF dependency.
  • Compatibility and deprecation: Breaking changes: the removed Windows builder defaulted DOCS_DEFAULT_REF to develop, while its CLI replacement defaults to v3.0.0-EA and fails if that tag was not built. Preserve develop as the default or derive the default from maintained documentation configuration; the current documentation update does not provide a deprecation bridge for the changed behavior.
  • Implementation: The uv lookup, isolated dev environment, sphinx-multiversion invocation, built-ref validation, redirect substitution, and unchanged single-version Sphinx arguments were traced. The built-ref validation currently raises RuntimeError, exposing an expected user-facing configuration failure as a traceback; it should follow adjacent CLI handling by calling print_error and exiting with status 1. The hardcoded release-tag default should also be removed or centralized.
  • Style consistency: Two repository consistency issues remain: --docs-multi violates the explicit snake_case rule followed by nearby options such as --isaacsim_source, and the newly parameterized public command_build_docs function lacks the Args: documentation used by adjacent commands and required by the contribution guide.
  • Test quality: The added test_build_multi_docs_writes_redirect_to_built_ref protects the new redirect-rendering contract at the command boundary and does not duplicate the existing current-build or missing-uv tests. Its setup drives the production substitution and validates the resulting landing page; the test itself meets the repository’s retention criteria.

Minor fixes needed. Posted 4 actionable findings inline.

Automated review; human maintainers own approval decisions.

help="Build the documentation from source using sphinx.",
)
parser.add_argument(
"--docs-multi",

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 · Style Consistency — CLI flag is not snake_case

The contribution guide requires snake_case CLI arguments, and every neighbouring option in this parser follows it (--isaacsim_source, --isaac_path). --docs-multi is the only hyphenated long option, and renaming it after release would itself break users and docs/README.md. Declare it as --docs_multi and update the README and changelog wording.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. Renamed the new flag to --docs_multi and updated the README and changelog. The new redirect test exercises the argparse dispatch through this flag.

out_dir = docs_dir / "_build"
cmd = [uv_exe, "run", "--isolated", "--extra", "dev", "--"]
if multi_version:
default_ref = os.getenv("DOCS_DEFAULT_REF", "v3.0.0-EA")

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 · Compatibility — Multi-version default ref changed to release tag

The removed batch builder defaulted DOCS_DEFAULT_REF to develop; this replacement hardcodes v3.0.0-EA and then hard-fails when that ref is not among the built versions. A branch build without the environment variable now errors instead of landing on develop, and the tag must be bumped in CLI source every release. Keep develop as the default or derive it from the docs configuration.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Keeping v3.0.0-EA as the default because it matches the current docs/Makefile and docs.yaml deployment target. Reverting only this command to develop would make the Windows/CLI build differ from deployment. DOCS_DEFAULT_REF remains the documented override and is covered by the redirect test. Commit 5411a26 also replaces the missing-ref traceback with guidance to fetch refs or select another built ref.



def command_build_docs() -> None:
def command_build_docs(multi_version: bool = False) -> None:

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.

🔵 Suggestion · Style Consistency — Document the new multi_version argument

command_build_docs now selects an entirely different build path via multi_version, but keeps its one-line docstring. Adjacent commands in this file (command_new, command_test, command_editor, command_build_isaacsim) all document parameters in a Google-style Args: section, as the guide requires for public APIs. Add an Args: entry describing the multi-version build and its DOCS_DEFAULT_REF dependency.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. Added an Args section describing the multi-version build, DOCS_DEFAULT_REF, and its default redirect target.

default_ref = os.getenv("DOCS_DEFAULT_REF", "v3.0.0-EA")
run_command(cmd + ["sphinx-multiversion", ".", str(out_dir), "--jobs=auto"], cwd=docs_dir)
if not (out_dir / default_ref / "index.html").is_file():
raise RuntimeError(f"Default docs ref '{default_ref}' was not built")

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.

🔵 Suggestion · Implementation — Use CLI error pattern for build failure

Every other user-facing failure in this module reports with print_error(...) then raise SystemExit(1), including the missing-uv branch a few lines above and command_build_isaacsim. Raising RuntimeError turns an expected condition (the default ref was not built) into a Python traceback from the CLI. Switch to print_error plus SystemExit(1).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. The missing redirect target now uses print_error followed by SystemExit(1), with guidance to fetch Git refs or set DOCS_DEFAULT_REF. The failure path is covered by a focused test.

@StafaH StafaH changed the title Use uv CLI for Windows documentation builds [Docs] Use uv CLI for Windows documentation builds Sep 30, 2026
@StafaH

StafaH commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@StafaH

StafaH commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator 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 30, 2026

@AntoineRichard AntoineRichard left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 AI review (Claude Code)

This review was generated by an AI assistant (Claude Code) on behalf of @AntoineRichard. None of the findings have been verified by running the build. Each inline comment below is an automated finding, so please treat them as suggestions to double-check rather than blocking feedback.

Overall the direction looks good: it replaces make.bat with the uv-backed CLI and fixes the Isaac Sim intersphinx URL. The main concerns are:

  1. uv run isaaclab --docs installs the full root environment and then a second isolated one, which is heavy in the new Windows CI job.
  2. The CLI's current-docs build no longer clears stale output, so -W can miss warnings on incremental rebuilds.
  3. The Windows workflow's path filter misses source/** docstrings.
  4. The multi-version logic is now duplicated between the Makefile (which CI still uses) and the CLI.

Comment thread .github/workflows/docs-windows.yaml Outdated
python-version: '3.12'
enable-cache: true
- name: Build current documentation
run: uv run isaaclab --docs

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 AI review (Claude Code): automated finding, not verified by a human. Please double-check.

Double full environment install. uv run isaaclab --docs from the repo root first syncs the whole root isaaclab-dev project into .venv (torch 2.12 from the cu130 index, newton, open3d, usd-exchange, all workspace members). command_build_docs then runs uv run --isolated --extra dev, which resolves and installs all of those base deps again into a second env.

On windows-latest this means downloading multi-GB CUDA torch wheels twice just to run Sphinx, which is slow and exposed to disk-space or index flakiness. There's also no retry wrapper like docs.yaml's with-python-package-retries.sh. It affects the README flow too, and contradicts the "isolated" wording there, since .venv does get modified.

Suggestion: use a single env, e.g. uv sync --extra dev followed by uv run --no-sync isaaclab --docs, or have the CLI skip the nested uv run when it's already inside an env that has Sphinx.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. Removed --isolated from the child uv command so it reuses the repository environment. Windows CI and both documented build commands now use uv run --extra dev at launch. Updated the documentation to state that documentation dependencies are synced into .venv. This removes the second full environment installation; I have not added a separate retry mechanism in this PR.


on:
pull_request:
paths:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 AI review (Claude Code): automated finding, not verified by a human. Please double-check.

The path filter misses source/**. Autodoc imports and renders docstrings from every source/* package (and depends on their per-package pyproject.toml). A PR that adds a malformed docstring or a Windows-incompatible import under, say, source/isaaclab_physx/ can break the -W Windows build without triggering this workflow. The regression then only shows up on the next PR that touches docs/**. docs.yaml deliberately runs on every PR for this reason; consider adding source/** or dropping the filter.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Keeping the Windows path filter scoped to docs, CLI, and root dependency changes for this PR. The existing Linux docs workflow already builds every PR. Running the additional Windows job for every source change would broaden the CI policy and runner cost; it can be considered separately if we want that coverage. This does leave Windows-specific source-only regressions outside this job.

- 'uv.lock'
- 'source/isaaclab/isaaclab/cli/**'

jobs:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 AI review (Claude Code): automated finding, not verified by a human. Please double-check.

Missing hardening compared with docs.yaml. The workflow has no permissions: block (it gets the default token scope), no concurrency group with cancel-in-progress, and no timeout-minutes. Rapid pushes will queue redundant, heavy Windows builds, and a hung package index could hold a Windows runner for up to the 6h default. Suggest adding permissions: contents: read, a concurrency group keyed on the PR number, and a reasonable timeout.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. Added contents: read permissions, a concurrency group keyed by the PR number with cancel-in-progress, and a 45-minute job timeout.

template = (docs_dir / "_redirect" / "index.html").read_text(encoding="utf-8")
(out_dir / "index.html").write_text(template.replace("__DOCS_DEFAULT_REF__", default_ref), encoding="utf-8")
else:
out_dir /= "current"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 AI review (Claude Code): automated finding, not verified by a human. Please double-check.

Stale output and doctrees are no longer cleared. Both the removed make.bat and the Makefile's current-docs target delete _build/current before building. This path doesn't, and it keeps doctrees in a persistent _build/doctrees, so every rebuild is incremental. Sphinx only re-reads changed files, which means -W stops reporting warnings in unchanged pages, and pages deleted from the source stay behind as stale HTML.

Now that this is the only documented path on both platforms, consider shutil.rmtree(out_dir, ignore_errors=True) (and the doctrees dir) before the build, or adding -E.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. Each current build removes _build/current first, and its doctrees now live in _build/current/.doctrees. This clears both HTML and cached warnings on every build without deleting other versions. Extended the existing docs test to verify cleanup before Sphinx is invoked. The clean local Sphinx build passed without warnings.

default_ref = os.getenv("DOCS_DEFAULT_REF", "v3.0.0-EA")
run_command(cmd + ["sphinx-multiversion", ".", str(out_dir), "--jobs=auto"], cwd=docs_dir)
if not (out_dir / default_ref / "index.html").is_file():
raise RuntimeError(f"Default docs ref '{default_ref}' was not built")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 AI review (Claude Code): automated finding, not verified by a human. Please double-check.

This error path is inconsistent with the rest of the function. A missing default ref raises a bare RuntimeError, which prints a Python traceback after a long multi-version build. Elsewhere this function uses print_error(...) + raise SystemExit(1). A user on a fork or shallow clone without the v3.0.0-EA tag would benefit from an actionable message, e.g. "run git fetch --tags or set DOCS_DEFAULT_REF".

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. Replaced RuntimeError with print_error and SystemExit(1). The message tells users to fetch Git refs or set DOCS_DEFAULT_REF. The missing-ref test also verifies that an existing redirect is left intact on failure.

out_dir = docs_dir / "_build"
cmd = [uv_exe, "run", "--isolated", "--extra", "dev", "--"]
if multi_version:
default_ref = os.getenv("DOCS_DEFAULT_REF", "v3.0.0-EA")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 AI review (Claude Code): automated finding, not verified by a human. Please double-check.

Multi-version logic is now duplicated. The default ref (v3.0.0-EA), the existence check, the _redirect/index.html templating and --jobs=auto are all copied from docs/Makefile. docs.yaml still calls make current-docs / make multi-docs, and it sets DOCS_DEFAULT_REF itself. That puts the default ref in three places.

When it's next bumped, the deploy path (Makefile/CI) and the documented uv run isaaclab --docs-multi path can drift apart. Consider having CI call the CLI and removing the Makefile targets, or the reverse, so there's one source of truth.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Acknowledged the duplication. Keeping the Linux Makefile/deployment workflow unchanged in this Windows build fix; consolidating those entry points would be a separate refactor of the deployment path. The CLI default currently matches both the Makefile and CI, and DOCS_DEFAULT_REF remains available to select another redirect target.

cmd = [uv_exe, "run", "--isolated", "--extra", "dev", "--"]
if multi_version:
default_ref = os.getenv("DOCS_DEFAULT_REF", "v3.0.0-EA")
run_command(cmd + ["sphinx-multiversion", ".", str(out_dir), "--jobs=auto"], cwd=docs_dir)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 AI review (Claude Code): automated finding, not verified by a human. Please double-check.

SPHINXOPTS and SPHINXBUILD are no longer honored. The removed make.bat and the Makefile both forward SPHINXOPTS (and respect SPHINXBUILD). The CLI ignores both, so options like -n, -q or -D smv_... that users previously passed via the environment are silently dropped. Consider forwarding shlex.split(os.getenv("SPHINXOPTS", "")), or adding pass-through args to the CLI.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Leaving these Make-specific environment overrides out of the CLI in this PR. The CLI provides fixed documentation build presets; custom options can be passed directly to Sphinx through uv run --extra dev python -m sphinx, or to sphinx-multiversion. Preserving environment command overrides and shell-quoted option strings would add another cross-platform parsing contract. The Linux Makefile still supports these variables.

]
run_command(cmd, cwd=docs_dir)
out_dir = docs_dir / "_build"
cmd = [uv_exe, "run", "--isolated", "--extra", "dev", "--"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 AI review (Claude Code): automated finding, not verified by a human. Please double-check.

The new multi_version=True branch has no tests. None of it is covered in test_misc_commands.py: the sphinx-multiversion command line, the missing-default-ref failure, the redirect index.html templating, and the DOCS_DEFAULT_REF override. The --docs-multi argparse dispatch isn't tested either. A regression here, such as the redirect landing in the wrong dir because of the shared out_dir mutation, would pass CI unnoticed.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. Added focused coverage for --docs_multi argparse dispatch, the multi-version invocation, DOCS_DEFAULT_REF override, the root redirect contents/location, and the missing-default-ref CLI failure. Extended the existing current-build test for stale output/cache cleanup. All 9 tests in test_misc_commands.py pass.

:exclude-members: __init__, func

.. autoclass:: RigidBodyMaterialCfg
:no-index:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 AI review (Claude Code): automated finding, not verified by a human. Please double-check.

:no-index: hides the symptom rather than the cause. RigidBodyMaterialCfg is a deprecated __getattr__ forward to isaaclab_physx.sim.spawners.materials.PhysxRigidBodyMaterialCfg, which is already documented in isaaclab_physx.sim.spawners.rst. :no-index: silences the duplicate-object warning, but the full Physx class is still rendered a second time here. The autosummary entry for RigidBodyMaterialCfg (line 304) also now points at an anchor that doesn't exist.

Consider removing the alias from the autosummary and the autoclass, and adding a short deprecation note that links to PhysxRigidBodyMaterialCfg.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. Removed the deprecated alias from the autosummary and autoclass sections, and replaced it with a deprecation note linking to isaaclab_physx.sim.spawners.materials.PhysxRigidBodyMaterialCfg. The Sphinx build passed without warnings, and the rendered link was checked against the generated target anchor.

Comment thread docs/source/refs/contributing.rst Outdated
the documentation. The build command creates a temporary environment for the
``dev`` extra, which includes documentation requirements, leaving the
repository's ``.venv`` unchanged.
``dev`` extra, which includes documentation requirements.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤖 AI review (Claude Code): automated finding, not verified by a human. Please double-check.

Instructions are still Linux-only a few lines below. This section still tells users to run xdg-open docs/_build/current/index.html, and command_build_docs only prints an open hint when not on Windows. Since this PR's goal is unified cross-platform instructions, consider a platform-neutral wording like the README's ("open docs/_build/current/index.html in a browser") and a Windows hint in the CLI output. It would also be better to reword the removed .venv sentence than to drop it, since uv run isaaclab does sync .venv.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 5411a26. Both the contribution guide and CLI now tell users to open the generated index in a browser, on either platform. Updated the environment wording to explain that the dev documentation dependencies are synced into the repository .venv.

@AntoineRichard

Copy link
Copy Markdown
Collaborator

I took a look, it looked good, but apparently the AI disagrees.

@StafaH

StafaH commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator 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 30, 2026
Comment thread docs/README.md
```
</details>
This build requires the Git tags for the versions to include. It checks for
`v3.0.0-EA/index.html` by default; set `DOCS_DEFAULT_REF` to another built ref

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

can the default branch be centralized?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Agent suggestion: Non-blocking: consider centralizing the default docs ref in a shared config. The Python CLI could read it, preserving DOCS_DEFAULT_REF as an override, while Makefile and CI reuse the CLI instead of defining their own defaults. This would make future version updates a single-place change.

@StafaH
StafaH merged commit c1a8bfa into isaac-sim:develop Sep 30, 2026
55 of 56 checks passed
kellyguo11 pushed a commit that referenced this pull request Sep 30, 2026
… uv docs CLI (#8118, #8105, #8179) (#8210)

## Summary

Backports three `develop` PRs to `release/3.0.0`, in merge order:

1. #8118 — towncrier changelog tooling
2. #8105 — camera hot-path cleanup [7B/7]
3. #8179 — uv CLI for Windows docs builds

The automatic backport failed for #8118 and #8105. For #8179, this
supersedes the bot's draft:

- #8209 — bot draft backport of #8179

Once merged, the nightly compiles `release/3.0.0` again: it skips
release branches without `tools/changelog/towncrier.toml`.

# Description

Each PR is cherry-picked with `-x`; every code file matches its source
patch. Release-specific changes:

1. #8118 (`ee99db6a820`)
- Each `CHANGELOG.rst` conflict resolved as the marker line above the
release entries.
- `uv.lock` unchanged: release's local package pins already match their
`pyproject.toml`.
- The bot failed here because `uv.lock` pushed its conflict context past
the 1.5M-character inference limit.
2. #8105 (`cd917691992`)
- Drops the `.github/workflows/build.yaml` hunk: it edits the
`performance-smoke` job, which `release/3.0.0` does not have. The bot's
validation rejected this omission.
- Splits its 10 old-format fragments into the new format with `cli.py`'s
`split_legacy`, keeping all 34 bullets; #8118's check rejects the old
format.
3. #8179 (`c1a8bfa50b5`)
   - Deletes `docs/make.bat`; release held an older copy.
   - Splits its fragment the same way.
- Release's `docs/_redirect/index.html` still hardcodes `./main/` (#7767
is not on this branch), so `isaaclab --docs_multi` writes that redirect
unchanged, as release's `make multi-docs` does.

## Type of change

- Release backport, carrying #8105's breaking change (`isaaclab` major
bump)
- New feature, bug fix and documentation update from the source PRs

## Validation

1. `cli.py check release/3.0.0` passes.
2. `tools/changelog` tests: 18 passed.
3. `pre-commit` over the range passes.
4. `cli.py compile` on a scratch copy of this branch:
- 9 packages bumped, including `isaaclab` 25.1.0 → 26.0.0 and
`isaaclab_tasks_experimental` 0.0.1 → 1.0.0
   - every fragment consumed, only its outputs staged
   - `uv.lock` changed in version lines only
5. Runtime coverage for #8105 and #8179 is left to CI.

## Release backport

This PR targets the release branch; no additional backport is needed.

## 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/) on
the changed files
- [x] I have made corresponding changes to the documentation (carried
from the source PRs)
- [ ] My changes generate no new warnings
- [x] I have validated the changed behavior with focused coverage
(source PRs' tests carried unchanged)
- [x] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package (carried from the
source PRs; #8105 and #8179 converted to the new format)
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Co-authored-by: Mustafa H <[email protected]>
@StafaH
StafaH deleted the fix/windows-uv-docs branch October 10, 2026 19:44
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 infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report] Multiple errors getting Sphinx to work on Windows for documentation development

4 participants