#!/usr/bin/env python3 """Check that every image referenced by the docs actually exists. Broken image links are easy to introduce (moving an assets/ folder, deleting a file without touching the pages that use it) and hard to notice, because the published site keeps serving stale copies that were uploaded by earlier builds. This script catches them at CI time instead. Only real media references are checked: markdown ``![alt](path)``, HTML ````, and ``