Files
Mujoco_WASM/.readthedocs.yml
T
Taylor Howell 85b5230dc0 MuJoCo Warp API documentation.
PiperOrigin-RevId: 820672892
Change-Id: I1339bdc4772560e69aa2c4b615825e7faffbe2ba
2025-10-17 06:59:19 -07:00

28 lines
897 B
YAML

# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
build:
os: ubuntu-24.04
tools:
python: "3.12"
jobs:
create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv venv $READTHEDOCS_VIRTUALENV_PATH
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r doc/requirements.txt
# 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' {} \;
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv pip install mjx/mujoco/mjx/third_party/mujoco_warp
install:
- "true" # skip
sphinx:
builder: html
configuration: doc/conf.py
fail_on_warning: false