version: 2

build:
  os: ubuntu-22.04
  tools:
    python: "3.10"

sphinx:
  configuration: docs/conf.py
  fail_on_warning: true

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

# Build all formats for RTD Downloads - htmlzip, pdf, epub
# formats: all
# Turn off pdf builds for now, not working
formats:
  - epub
  - htmlzip
