Generate MuJoCo Warp documentation with modified types.py.

PiperOrigin-RevId: 836617034
Change-Id: Ia925b88679744267b34504b146fa712d4195eda4
This commit is contained in:
Taylor Howell
2025-11-25 04:53:04 -08:00
committed by Copybara-Service
parent b98379372e
commit bdaec5758b
2 changed files with 83 additions and 0 deletions
+1
View File
@@ -21,6 +21,7 @@ build:
# replace mujoco.mjx.third_party.mujoco_warp import paths with mujoco_warp
- |
find mjx/mujoco/mjx/third_party/mujoco_warp -type f -exec sed -i 's/mujoco\.mjx\.third_party\.mujoco_warp/mujoco_warp/g' {} \;
- python doc/mjwarp/update_types.py mjx/mujoco/mjx/third_party/mujoco_warp/_src/types.py
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv pip install mjx/mujoco/mjx/third_party/mujoco_warp
install:
- "true" # skip