Skip to content

Commit

Permalink
Use poetry on readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
pmbarrett314 committed Dec 29, 2022
1 parent 2a652ec commit 0f3c324
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 37 deletions.
20 changes: 14 additions & 6 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,17 @@ sphinx:
formats:
- pdf

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements-docs.txt
- method: pip
path: .
build:
os: "ubuntu-22.04"
tools:
python: "3.10"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install --with docs
31 changes: 0 additions & 31 deletions docs/requirements-docs.txt

This file was deleted.

0 comments on commit 0f3c324

Please sign in to comment.