Skip to content

Commit 374b0e4

Browse files
committed
readthedocs poetry extra fix
1 parent 61d483f commit 374b0e4

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.readthedocs.yaml

+13-7
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,16 @@ sphinx:
99
# Optionally build your docs in additional formats such as PDF and ePub
1010
formats: all
1111

12-
python:
13-
version: 3.8
14-
install:
15-
- method: pip
16-
path: .
17-
extra_requirements:
18-
- docs
12+
build:
13+
os: ubuntu-20.04
14+
tools:
15+
python: "3.9"
16+
jobs:
17+
post_create_environment:
18+
# Install poetry
19+
- pip install poetry
20+
# Tell poetry to not use a virtual environment
21+
- poetry config virtualenvs.create false
22+
post_install:
23+
# Install dependencies
24+
- poetry install --with docs

0 commit comments

Comments
 (0)