From f22bf595ab4f89172e5680944514e76b5639a91c Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Wed, 8 Jan 2025 11:44:51 +0100 Subject: [PATCH] Add build step, use lockfile --- .readthedocs.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 06bbc03c0f..98193e0019 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -22,12 +22,9 @@ 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: + - uv run python -m sphinx -T -W --keep-going -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html search: ranking: