#!/usr/bin/env python3 """Fail when a docs page references media that isn't hosted on static.cube.dev. Images and video are uploaded with scripts/upload-asset.sh and referenced as https://static.cube.dev/. This check catches media committed to the repo (`/images/...`) or linked from any other host (Uploadcare, S3, Drive, ...). Checked: - src / poster attributes on ,