Skip to content

Commit 847c375

Browse files
Fix docs
Update .readthedocs.yml
1 parent c4ea016 commit 847c375

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.readthedocs.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# .readthedocs.yaml
22
# Read the Docs configuration file
33
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
# See https://github.com/astral-sh/uv/issues/10074
5+
46

57
# Required
68
version: 2
@@ -13,20 +15,17 @@ build:
1315
rust: 'latest'
1416
# You can also specify other tool versions:
1517
jobs:
16-
post_create_environment:
17-
# Install uv (fast Python package manager)
18-
- python -m pip install pipx
19-
- pipx install uv
20-
2118
post_install:
2219
# Install with docs extras
23-
- uv sync --group docs
20+
- python -m pip install uv
21+
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --group docs
2422

2523

2624
python:
2725
install:
2826
- method: pip
2927
path: .
28+
3029
# Build documentation in the "docs/" directory with Sphinx
3130
sphinx:
3231
configuration: docs/conf.py

0 commit comments

Comments
 (0)