Files
simple-nixos-mailserver/.readthedocs.yaml
T
2026-03-11 17:01:39 +01:00

32 lines
697 B
YAML

# 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
fail_on_warning: true
formats:
- pdf
- epub
python:
install:
- requirements: docs/requirements.txt