Skip to content

Commit

Permalink
set up poetry install for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisNe committed Aug 23, 2022
1 parent 0bbe638 commit efb53c6
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ build:
os: ubuntu-20.04
tools:
python: "3.9"
# You can also specify other tool versions:
# nodejs: "16"
# rust: "1.55"
# golang: "1.17"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#osx--linux--bashonwindows-install-instructions
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
# Tell poetry to not use a virtual environment
- $HOME/.poetry/bin/poetry config virtualenvs.create false
# Install project's dependencies
- $HOME/.poetry/bin/poetry install

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -26,6 +31,5 @@ sphinx:
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: requirements.txt
- method: setuptools
- method: pip
path: .

0 comments on commit efb53c6

Please sign in to comment.