Skip to content

Commit

Permalink
Fix Poetry instructions (#11152)
Browse files Browse the repository at this point in the history
* Fix Poetry instructions

* Update docs/user/build-customization.rst

Co-authored-by: Manuel Kaufmann <humitos@gmail.com>

---------

Co-authored-by: Manuel Kaufmann <humitos@gmail.com>
  • Loading branch information
ewjoachim and humitos committed Feb 27, 2024
1 parent 17d8778 commit 8eafdaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user/build-customization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,12 @@ Take a look at the following example:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install --with docs
# VIRTUAL_ENV needs to be set manually for now.
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
sphinx:
configuration: docs/conf.py
Expand Down

0 comments on commit 8eafdaf

Please sign in to comment.