Skip to content

Commit 8eafdaf

Browse files
ewjoachimhumitos
andauthored
Fix Poetry instructions (#11152)
* Fix Poetry instructions * Update docs/user/build-customization.rst Co-authored-by: Manuel Kaufmann <[email protected]> --------- Co-authored-by: Manuel Kaufmann <[email protected]>
1 parent 17d8778 commit 8eafdaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/user/build-customization.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,12 +345,12 @@ Take a look at the following example:
345345
# Install poetry
346346
# https://python-poetry.org/docs/#installing-manually
347347
- pip install poetry
348-
# Tell poetry to not use a virtual environment
349-
- poetry config virtualenvs.create false
350348
post_install:
351349
# Install dependencies with 'docs' dependency group
352350
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
353-
- poetry install --with docs
351+
# VIRTUAL_ENV needs to be set manually for now.
352+
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
353+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
354354
355355
sphinx:
356356
configuration: docs/conf.py

0 commit comments

Comments
 (0)