Update .readthedocs.yml to install MuJoCo Warp in order to generate API documentation. Additionally, mirror mujoco_warp/pyproject.toml in mjx/mujoco/mjx/third_party/mujoco_warp.
PiperOrigin-RevId: 814656860 Change-Id: Ie4c0e9076c90b598dedc65a3e9793ed3d2375c37
This commit is contained in:
committed by
Copybara-Service
parent
50920450d2
commit
53360f51a9
@@ -8,6 +8,16 @@ build:
|
||||
tools:
|
||||
python: "3.10"
|
||||
|
||||
# install mujoco warp to generate api documentation
|
||||
jobs:
|
||||
post_install:
|
||||
- pip install uv
|
||||
- mkdir -p /tmp/mujoco_warp
|
||||
- cp -r mjx/mujoco/mjx/third_party/mujoco_warp/ /tmp/mujoco_warp/
|
||||
- cd /tmp/mujoco_warp
|
||||
- mv mujoco_warp/pyproject.toml .
|
||||
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install -e .
|
||||
|
||||
sphinx:
|
||||
builder: html
|
||||
configuration: doc/conf.py
|
||||
|
||||
Reference in New Issue
Block a user