version: 2
build:
  os: ubuntu-24.04
  tools:
    python: "3.12"
  commands:
    - pip install -r requirements.txt
    - python -m zensical build --config-file mkdocs.yml
    - mkdir -p $READTHEDOCS_OUTPUT/html/
    - cp -r netbox/project-static/docs/* $READTHEDOCS_OUTPUT/html/
