Skip to content

Commit 7a6e1ad

Browse files
committed
ci: fix readthedocs build configuration
taken from readthedocs/readthedocs.org#4912 (comment)
1 parent f36f945 commit 7a6e1ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.readthedocs.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ version: 2
66
build:
77
os: ubuntu-22.04
88
tools:
9-
python: "3.10"
9+
python: "3.12"
1010
jobs:
11+
post_create_environment:
12+
- python -m pip install poetry
1113
post_install:
12-
- pip install poetry
13-
- poetry config virtualenvs.create false
14-
- poetry install --without lint,test
14+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
1515

1616
sphinx:
1717
configuration: docs/conf.py

0 commit comments

Comments
 (0)