diff --git a/.readthedocs.yml b/.readthedocs.yml index 06bbc03c0..cf179a81a 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -22,12 +22,10 @@ build: create_environment: - uv venv install: - - uv pip install .[docs,tests,rest,atomic_tools] - -# Let the build fail if there are any warnings -sphinx: - builder: html - fail_on_warning: true + - uv sync --extra docs --extra tests --extra rest --extra atomic_tools + build: + html: + - uv run python -m sphinx -T -W --keep-going -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html search: ranking: