# https://docs.readthedocs.io/en/stable/config-file/v2.html#supported-settings

version: 2

sphinx:
  # The config file overrides the UI settings:
  # https://github.com/pyca/cryptography/issues/5863#issuecomment-817828152
  builder: dirhtml
  configuration: docs/conf.py

formats:
  - pdf

build:
  os: "ubuntu-24.04"
  tools:
    python: "3.13"
    rust: "latest"

python:
  install:
    - method: pip
      path: .
      extra_requirements:
        - docs
