Skip to content

Commit

Permalink
Update RTD config to have poetry properly use RTD venv (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers authored Jun 28, 2024
1 parent 274a6d6 commit 320b229
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ build:
jobs:
post_create_environment:
- pip install poetry
- 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
# Instructs Poetry to use RTD venv
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs

sphinx:
configuration: docs/conf.py

0 comments on commit 320b229

Please sign in to comment.