---
version: 2

mkdocs:
  fail_on_warning: true
  configuration: mkdocs.yml

build:
  os: ubuntu-22.04
  tools:
    python: "3.11"
  commands:
    - pip install --user tox
    - python3 -m tox -e docs
python:
  install:
    - method: pip
      path: tox
    - method: pip
      path: .
      extra_requirements:
        - docs
