Fix building docs on readthedocs

This commit is contained in:
Oliver Hamlet
2025-05-13 17:18:00 +01:00
parent 072c62e55d
commit 3bebc47f14
+11 -5
View File
@@ -6,10 +6,16 @@ sphinx:
formats: all
build:
os: ubuntu-20.04
os: ubuntu-24.04
tools:
python: '3.10'
python: '3.13'
jobs:
create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
install:
- UV_PROJECT_ENVIRONMENT="$READTHEDOCS_VIRTUALENV_PATH" uv --project docs sync
python:
install:
- requirements: docs/requirements.txt
sphinx:
configuration: docs/conf.py