#!/usr/bin/env python3
"""Build docs/20260602_REVERSE_SSH_proposals_summary.pdf from markdown source + heading TOC."""

from __future__ import annotations

from pathlib import Path

from md_to_pdf import build_pdf_from_markdown

ROOT = Path(__file__).resolve().parents[2]
SOURCE_MD = ROOT / "docs" / "20260602_REVERSE_SSH_proposals_summary.md"
OUT_PDF = ROOT / "docs" / "20260602_REVERSE_SSH_proposals_summary.pdf"


def build_pdf() -> None:
    build_pdf_from_markdown(
        SOURCE_MD,
        OUT_PDF,
        doc_subtitle="Generated from markdown — rev. 1–3 + Appendix 1 (WG test) + Appendix 2 (WG production)",
    )


if __name__ == "__main__":
    build_pdf()
