Skip to content

Commit

Permalink
Add RTD configuration file which is now required
Browse files Browse the repository at this point in the history
  • Loading branch information
pevogam committed Apr 26, 2024
1 parent 5dc1610 commit 1ed7d53
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"

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

# Build docs in additional formats such as PDF and ePub
formats: all

# Specify dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: packaging/pip_requirements_minimal.txt
- method: pip
path: ./packaging/
3 changes: 3 additions & 0 deletions packaging/pip_requirements_minimal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# minimal
Pillow==9.3.0; python_version >= '3.7' and python_version < '3.12'
Pillow==10.3.0; python_version >= '3.12'

0 comments on commit 1ed7d53

Please sign in to comment.