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