From 3bebc47f14acd231b24fb4c9cf06b37d806a8de3 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Tue, 13 May 2025 17:18:00 +0100 Subject: [PATCH] Fix building docs on readthedocs --- .readthedocs.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 1f80cc05..f3d7fa97 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -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