Skip to content

Commit

Permalink
build: enhance rtd config file to support poetry extra doc deps (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgebhart authored Oct 31, 2024
1 parent bfda77f commit 2753d24
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ build:
os: ubuntu-22.04
tools:
python: "3.11"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
# golang: "1.20"
# see https://browniebroke.com/blog/specify-docs-dependency-groups-with-poetry-and-read-the-docs/
jobs:
post_create_environment:
- pip install poetry
- poetry config virtualenvs.create false
post_install:
- poetry install --extras docs

python:
install:
Expand Down

0 comments on commit 2753d24

Please sign in to comment.