Skip to content

Commit

Permalink
Changing how we install poetry dependencies on ReadTheDocs. Changing …
Browse files Browse the repository at this point in the history
…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).
  • Loading branch information
hrichardlee committed Sep 2, 2022
1 parent 0a4fcfb commit a2498d9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@ build:
os: ubuntu-20.04
tools: {python: "3.9"}
jobs:
pre_create_environment:
- asdf plugin add poetry
- asdf install poetry latest
- asdf global poetry latest
- poetry config virtualenvs.create false
post_install:
- poetry install
- pip install poetry==1.2.0
- poetry config virtualenvs.create false
- poetry install --with doc

# Build documentation in the docs/ directory with Sphinx
mkdocs:
Expand Down

0 comments on commit a2498d9

Please sign in to comment.