Skip to content

Commit 5715e54

Browse files
authored
docs: fix readthedocs build (#154)
1 parent 779467e commit 5715e54

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.readthedocs.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
version: 2
22

33
build:
4-
os: ubuntu-22.04
5-
4+
os: "ubuntu-22.04"
65
tools:
76
python: "3.11"
8-
97
jobs:
108
post_create_environment:
11-
- pip install poetry
12-
- poetry config virtualenvs.create false
13-
9+
# Install poetry
10+
# https://python-poetry.org/docs/#installing-manually
11+
- python -m pip install poetry
1412
post_install:
15-
- poetry install --with docs
13+
# Install dependencies with 'docs' dependency group
14+
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
15+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
1616

1717
sphinx:
1818
configuration: docs/conf.py

0 commit comments

Comments
 (0)