Commit fecf4ff
committed
ci: migrate Read the Docs configuration to use uv
Migrates the Read the Docs build from pip to uv for faster and more reliable
dependency installation. This follows the official Read the Docs documentation
for uv integration.
Changes:
- Added pre_create_environment step to install uv via asdf
- Added create_environment step to create venv with uv
- Replaced pip install commands with 'uv sync --frozen --group docs'
- Set UV_PROJECT_ENVIRONMENT to use Read the Docs virtualenv path
Benefits:
- Faster dependency resolution and installation
- Better workspace support (handles vcs-versioning dependency correctly)
- Respects uv.lock for reproducible builds with --frozen flag
- Consistent with local development and CI workflows
Reference: https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-uv1 parent 3499d32 commit fecf4ff
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 18 | + | |
0 commit comments