53360f51a9
PiperOrigin-RevId: 814656860 Change-Id: Ie4c0e9076c90b598dedc65a3e9793ed3d2375c37
29 lines
665 B
YAML
29 lines
665 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-20.04
|
|
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
|
|
fail_on_warning: false
|
|
|
|
python:
|
|
install:
|
|
- requirements: doc/requirements.txt
|