Skip to content

Commit

Permalink
Simplify instructions for installing dependencies with uv (#11655)
Browse files Browse the repository at this point in the history
* Simplify instructions for installing dependencies with uv

* Run uv sync with --frozen
  • Loading branch information
browniebroke authored Oct 8, 2024
1 parent 4d6b9ad commit 173d044
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/user/build-customization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,10 @@ Take a look at the following example:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv venv
- uv pip install .[docs]
- .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
- uv sync --extra docs --frozen
- uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
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.
MkDocs projects could use ``NO_COLOR=1 uv run mkdocs build --strict --site-dir $READTHEDOCS_OUTPUT/html`` instead.

Update Conda version
^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 173d044

Please sign in to comment.