version: 2

mkdocs:
  configuration: docs/mkdocs.yml

python:
  install:
    - requirements: docs/requirements.txt
    - requirements: src/backend/requirements.txt

build:
  os: "ubuntu-24.04"
  tools:
    python: "3.12"
  jobs:
    post_install:
      - pip install -U invoke
      - echo "Generating API schema file"
      - invoke build-docs
