Skip to content

Commit a2498d9

Browse files
committed
Changing how we install poetry dependencies on ReadTheDocs. Changing to follow readthedocs/readthedocs.org#4912 (comment) which seems to be the recommended way. Previous method was using mkdocs version 1.1 for some reason. mkdocs version 1.1 doesn't work with the latest version of jinja2 (https://twitter.com/readthedocs/status/1507388916013314048).
1 parent 0a4fcfb commit a2498d9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.readthedocs.yaml

+3-6
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@ build:
66
os: ubuntu-20.04
77
tools: {python: "3.9"}
88
jobs:
9-
pre_create_environment:
10-
- asdf plugin add poetry
11-
- asdf install poetry latest
12-
- asdf global poetry latest
13-
- poetry config virtualenvs.create false
149
post_install:
15-
- poetry install
10+
- pip install poetry==1.2.0
11+
- poetry config virtualenvs.create false
12+
- poetry install --with doc
1613

1714
# Build documentation in the docs/ directory with Sphinx
1815
mkdocs:

0 commit comments

Comments
 (0)