diff --git a/.readthedocs.yml b/.readthedocs.yml index 0d70c293..a64ffb7a 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,21 +8,13 @@ version: 2 build: os: "ubuntu-22.04" tools: - python: "3.10" + python: "3.12" apt_packages: - graphviz - - -# Build documentation in the docs/ directory with Sphinx -sphinx: - configuration: docs/conf.py - -# Include PDF and ePub -formats: all - -python: - install: - - method: pip - path: . - extra_requirements: - - docs + commands: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + - uv venv + - uv pip install .[docs] + - .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html