From 725c4197b954d4e73ef324b7a60dc5d42c93bf18 Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Fri, 23 May 2025 15:15:14 +0100 Subject: [PATCH] Fixed .readthedocs.yaml --- .readthedocs.yaml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index d447084..c0beedf 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,14 +9,12 @@ build: os: ubuntu-24.04 tools: python: "3.13" - -# Build documentation in the "docs/" directory with Sphinx -sphinx: - configuration: docs/conf.py - -# declare the Python requirements required to build your documentation -# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html -python: - install: - - requirements: docs/requirements.txt - + jobs: + pre_create_environment: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + create_environment: + - uv sync --group docs + install: + - uv run python -m sphinx -T -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html