The docs now also use images () and reference-style links ([text][ref] with a definition line [ref]: URL). Extend /workspace/tools/linkcheck.py so that the URLs of images and of reference definitions are checked and reported too (the line number is the line where the URL itself is written), keeping the existing output format and exit status. The docs CI runs it as described in /workspace/README.md. The result will be run directly on this machine, so make sure it actually works here.