Skip to content

Commit

Permalink
added readthedocs file
Browse files Browse the repository at this point in the history
  • Loading branch information
cparcerisas committed Aug 10, 2023
1 parent 74a5e88 commit 90fcfa2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Required
version: 2
formats: []

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

build:
os: ubuntu-20.04
tools:
python: "3.9"
apt_packages:
- libsndfile1-dev

# Optionally declare the Python requirements required to build your docs
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
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install --with docs

0 comments on commit 90fcfa2

Please sign in to comment.