diff --git a/.readthedocs.yml b/.readthedocs.yml index 012a6e6e0ae..db514e281e5 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -6,6 +6,17 @@ build: - graphviz tools: python: "3.11" + jobs: + create_environment: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + - uv venv + install: + - uv pip install -r requirements.txt + build: + html: + - uv run sphinx-build -T -b html docs $READTHEDOCS_OUTPUT/html sphinx: configuration: lib/spack/docs/conf.py