Skip to content

Commit 8ce45aa

Browse files
committed
readthedocs install with poetry
1 parent 4621125 commit 8ce45aa

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.readthedocs.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ build:
99
os: ubuntu-22.04
1010
tools:
1111
python: "3.11"
12+
jobs:
13+
post_create_environment:
14+
# Install poetry
15+
- pip install poetry
16+
post_install:
17+
# Install dependencies with Poetry
18+
# VIRTUAL_ENV needs to be set manually for Poetry to work correctly
19+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with dev
1220

1321
# Build documentation in the "docs/" directory with Sphinx
1422
sphinx:
1523
configuration: docs/conf.py
16-
17-
# Python environment
18-
python:
19-
install:
20-
- method: pip
21-
path: .
22-
extra_requirements:
23-
- dev

0 commit comments

Comments
 (0)