Skip to content

Commit 0b56646

Browse files
ReadTheDocs - Use Poetry
1 parent 28cb67d commit 0b56646

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.readthedocs.yaml

+12-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,15 @@ mkdocs:
1717
build:
1818
os: ubuntu-22.04
1919
tools:
20-
python: "3.6"
20+
python: "3.11"
21+
jobs:
22+
post_create_environment:
23+
# Install poetry
24+
# https://python-poetry.org/docs/#installing-manually
25+
- pip install poetry
26+
# Tell poetry to not use a virtual environment
27+
- poetry config virtualenvs.create false
28+
post_install:
29+
# Install dependencies with 'docs' dependency group
30+
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
31+
- poetry install --with docs

0 commit comments

Comments
 (0)