Skip to content

Commit e350b52

Browse files
committed
docs: fix readthedocs
1 parent da4a0a4 commit e350b52

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ build:
99
# Install poetry
1010
# https://python-poetry.org/docs/#installing-manually
1111
- python -m pip install poetry
12-
# Tell poetry to not use a virtual environment
13-
- python -m poetry config virtualenvs.create false
1412
post_install:
1513
# Install dependencies with 'docs' dependency group
1614
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
17-
- python -m poetry install --with docs
15+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
1816

1917
sphinx:
2018
configuration: docs/conf.py

0 commit comments

Comments
 (0)