Skip to content

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

Closed

Description

@knott-todd

Describe the bug

In trying to set up Sphinx I ran into several issues:
1. make not found
If you strictly follow the /docs/README.md instructions for Windows, in VS Code you get the error that make not found. As make is a known, fairly common program (Windows' make, Chocolatey's make) I assumed I had to install it and add to PATH. This is incorrect. The fix: use ./make, to correctly call the make.bat file, no need for any installation.
Suggested fix: Add a note of this in the README.md docs: If you get the "make not found" error, do not install cmake. Instead navigate to the docs folder, and run ./make current-docs as opposed to make current-docs. make is an existing batch file, not to be confused with Chocolatey's make.

2. Sphinx executable could not be resolved due to failing where command
Even with PATH correctly configured, the make script would still return the 'The 'sphinx-build' command was not found.' error. The cause: where did not resolve to the correct executable, must be replaced with where.exe.

3. Batch file was not populating the SPHINXBUILD env variable when none was specified in PATH or local environment.
Fix: The fix was using delayed expansion (!VAR! instead of %VAR%). In batch files, variables set inside a parenthesized block (like inside an if statement) aren't visible later in that same block unless you use delayed expansion. Disclaimer: Claude got this one working, and I kept on moving forward. However I am not fluent enough in scripting to verify this is the correct solution. Needs review from someone fluent in batch scripting.

4. Sphinx just won't build
Investigated but could not identify the cause; may be theme compatibility with Python 3.13.
Theme error:
An error happened in rendering the page index.
Reason: OSError(22, 'Invalid argument')

Could not find my way around this.

5. Sphinx adds extra '/' to path, creating 404 error
Should be https://docs.isaacsim.omniverse.nvidia.com/5.1.0/py/objects.inv
But generates https://docs.isaacsim.omniverse.nvidia.com/5.1.0/py//objects.inv
Temporary fix: remove trailing slash from isaacsim url on line 130 of conf.py:

...
Replace this
    "isaacsim": ("https://docs.isaacsim.omniverse.nvidia.com/5.1.0/py/", None),
...

...
With this
    "isaacsim": ("https://docs.isaacsim.omniverse.nvidia.com/5.1.0/py", None),
...

Steps to reproduce

Follow docs/README.md instructions for Windows. Using Windows 11, Python 3.13.7 venv, in VS Code.

System Info

Describe the characteristic of your environment:

  • Commit: 4df6560
  • Isaac Sim Version: 5.1.0
  • OS: Windows 11
  • GPU: NVIDIA GeForce GTX1080
  • CUDA: N/A
  • GPU Driver: N/A

Additional context

N/A

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo

Acceptance Criteria

  • Working, robust set up instructions for Windows, with troubleshooting guides OR
  • A docker container

Activity

  1. RandomOakForest commented on Apr 23, 2026

    @RandomOakForest
    Collaborator

    Thank you for posting this and adding the PR. The team will review this.

  2. added
    bug
    documentation
    on Apr 23, 2026
  3. hawkeyeking commented on Jun 9, 2026

    @hawkeyeking

    Still in review.

  4. hawkeyeking commented on Sep 22, 2026

    @hawkeyeking

    Checking that this is fixed in Isaac Lab 3

  5. StafaH commented on Sep 30, 2026

    @StafaH
    Collaborator

    Fixed in #8179

  6. added a commit that references this issue on Sep 30, 2026
    c1a8bfa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdocumentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions