Skip to content

Commit fdc0e64

Browse files
thowellcopybara-github
authored andcommitted
Update .readthedocs.yml.
PiperOrigin-RevId: 820614563 Change-Id: I76d10cbb3cbcd55ab5a84ce74ab2cc3c3cc4ecaf
1 parent ff7c94d commit fdc0e64

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.readthedocs.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,19 @@
44
version: 2
55

66
build:
7-
os: ubuntu-22.04
7+
os: ubuntu-24.04
88
tools:
9-
python: "3.10"
9+
python: "3.12"
1010
jobs:
11-
post_create_environment:
12-
- pip install uv
13-
post_install:
14-
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install doc
15-
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install mjx/mujoco/mjx/third_party/mujoco_warp
11+
create_environment:
12+
- asdf plugin add uv
13+
- asdf install uv latest
14+
- asdf global uv latest
15+
- uv venv $READTHEDOCS_VIRTUALENV_PATH
16+
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r doc/requirements.txt
17+
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv pip install mjx/mujoco/mjx/third_party/mujoco_warp
18+
install:
19+
- "true" # skip
1620

1721
sphinx:
1822
builder: html

0 commit comments

Comments
 (0)