diff --git a/.readthedocs.yaml b/.readthedocs.yaml index b806e242..55e118aa 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,12 +9,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: # Install dependencies with 'docs' dependency group # https://python-poetry.org/docs/managing-dependencies/#dependency-groups - - poetry install --with docs + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs sphinx: configuration: docs/conf.py