Skip to content

Commit 173d044

Browse files
authored
Simplify instructions for installing dependencies with uv (#11655)
* Simplify instructions for installing dependencies with uv * Run uv sync with --frozen
1 parent 4d6b9ad commit 173d044

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/user/build-customization.rst

+3-4
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,10 @@ Take a look at the following example:
377377
- asdf plugin add uv
378378
- asdf install uv latest
379379
- asdf global uv latest
380-
- uv venv
381-
- uv pip install .[docs]
382-
- .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
380+
- uv sync --extra docs --frozen
381+
- uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
383382
384-
You can use ``-r docs/requirements.txt``, etc. instead as needed. MkDocs projects could use ``NO_COLOR=1 .venv/bin/mkdocs build --strict --site-dir $READTHEDOCS_OUTPUT/html`` instead.
383+
MkDocs projects could use ``NO_COLOR=1 uv run mkdocs build --strict --site-dir $READTHEDOCS_OUTPUT/html`` instead.
385384

386385
Update Conda version
387386
^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)