Skip to content

Commit 30ce53e

Browse files
committed
Update .readthedocs.yaml
1 parent 147f837 commit 30ce53e

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.readthedocs.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,16 @@ build:
88
os: "ubuntu-22.04"
99
tools:
1010
python: "3.10"
11-
commands:
11+
jobs:
12+
post_create_environment:
1213
# Install poetry
1314
# https://python-poetry.org/docs/#installing-manually
14-
- pip install poetry==1.6.1
15-
16-
# Tell poetry to not use a virtual environment
17-
- poetry config virtualenvs.create false
18-
15+
- python -m pip install poetry==1.7.1
16+
post_install:
1917
# Install dependencies with 'docs' dependency group
2018
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
21-
- poetry install --with docs
22-
19+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry install --with docs
2320
# Generate code documentation skeleton
2421
- LC_ALL=C python docs/gen_ref_pages.py
25-
26-
2722
mkdocs:
2823
configuration: mkdocs.yml

0 commit comments

Comments
 (0)