# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
# Build documentation in the "docs/sphinx" directory with Sphinx
sphinx:
configuration: docs/sphinx/conf.py
fail_on_warning: false
# Optionally build your docs in additional formats such as PDF and ePub
formats:
- pdf
- epub
# Python configuration
python:
install:
# Install package with all optional dependencies
- method: pip
path: .
extra_requirements:
- all
# Install sphinx documentation requirements
- requirements: docs/sphinx/requirements.txt