From df04ce6daf1edf7fe141a8966fcdd74800988f96 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Mon, 7 Oct 2024 15:52:09 -0300 Subject: [PATCH 1/3] Use uv sync to install docs deps --- .readthedocs.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 6af7ce2016..9dfd580ab5 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -13,8 +13,7 @@ build: - asdf plugin add uv - asdf install uv latest - asdf global uv latest - - uv venv - - uv pip install .[docs] + - uv sync --extra docs - .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html # Build documentation in the docs/ directory with Sphinx From 714ef84a337b8c8e18eda15cc49e092418663763 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Mon, 7 Oct 2024 16:06:25 -0300 Subject: [PATCH 2/3] Use uv run to build the docs with Sphinx --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 9dfd580ab5..ca3f815c2a 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -14,7 +14,7 @@ build: - asdf install uv latest - asdf global uv latest - uv sync --extra docs - - .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html + - uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html # Build documentation in the docs/ directory with Sphinx sphinx: From 3f9999e517b58dd5d11ffb2f6c85a8a27d713dcb Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Mon, 7 Oct 2024 17:40:56 -0300 Subject: [PATCH 3/3] Use --no-dev --frozen while running uv sync to build docs --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index ca3f815c2a..45f6183acc 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -13,7 +13,7 @@ build: - asdf plugin add uv - asdf install uv latest - asdf global uv latest - - uv sync --extra docs + - uv sync --extra docs --no-dev --frozen - uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html # Build documentation in the docs/ directory with Sphinx