Skip to content

Commit

Permalink
readthedocs: use latest recommendations for poetry install
Browse files Browse the repository at this point in the history
  • Loading branch information
dlech committed May 4, 2024
1 parent d338f67 commit 2b47edc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ build:
# 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:
# VIRTUAL_ENV needs to be set manually for now.
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
- cd doc && poetry install
- cd doc && VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand Down

0 comments on commit 2b47edc

Please sign in to comment.