# Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details # Required version: 2 build: os: ubuntu-24.04 tools: python: "3" apt_packages: - curl - proot jobs: pre_install: - curl -L https://github.com/DavHau/nix-portable/releases/latest/download/nix-portable-$(uname -m) > ./nix-portable - chmod +x ./nix-portable - ./nix-portable nix build --print-build-logs .#optionsDoc - ./nix-portable nix store cat $(readlink result) > docs/options.md sphinx: configuration: docs/conf.py formats: - pdf - epub python: install: - requirements: docs/requirements.txt