version: 2

build:
  os: ubuntu-24.04
  tools:
    python: "3.14"
  jobs:
    # We recommend using a requirements file for reproducible builds.
    # This is just a quick example to get started.
    # https://docs.readthedocs.io/page/guides/reproducible-builds.html
    install:
      - pip install -r docs/requirements.txt
    build:
      html:
        - zensical build
    post_build:
      - mkdir -p $READTHEDOCS_OUTPUT/html/
      - cp --recursive site/* $READTHEDOCS_OUTPUT/html/
