Skip to content

Commit

Permalink
set virtualenv for readthedocs builds
Browse files Browse the repository at this point in the history
  • Loading branch information
d33bs committed Sep 9, 2024
1 parent df7a08c commit 3b95dd1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ build:
- 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 dev,docs --all-extras
# (https://python-poetry.org/docs/managing-dependencies/#dependency-groups)
# and leverage READTHEDOCS_VIRTUALENV_PATH for environment.
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with dev,docs --all-extras

sphinx:
builder: html
Expand Down

0 comments on commit 3b95dd1

Please sign in to comment.