# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

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

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


# Configure the build environment
build:
  os: ubuntu-22.04
  tools:
    python: "3.11"

# Ensure doc dependencies are installed before building
python:
   install:
      - requirements: doc/requirements.txt
      - method: pip
        path: .
