Skip to content

Commit

Permalink
docs(cfg): update rtd config to setup env w/ poetry.
Browse files Browse the repository at this point in the history
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
  • Loading branch information
BradenM committed Mar 19, 2023
1 parent 867b7f8 commit 82c4da0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ submodules:
# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
- method: "pip"
path: "."

build:
os: ubuntu-22.04
tools:
python: "3"
python: "3.11"
jobs:
# see: https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-poetry
post_create_environment:
- pip install poetry==1.4.1
- poetry config virtualenvs.create false
post_install:
- poetry install --with docs

0 comments on commit 82c4da0

Please sign in to comment.