Open peytondmurray opened 8 months ago
Hello 👋
Is this issue still open, and of interest? I'd be happy to pick it up if so.
Current thoughts
<img>
tags and check that there is a nested container with the "image-attrib" class name? I'm not sure if this is i) what you are looking for or ii) very robust.
Is your feature request related to a specific page or problem? Please describe. We need a way to make sure that
Describe the solution you'd like Automated checks for both of these would be ideal (CI). There's an alt text hook here that we could run in
src/_build/html/
when a PR is made that could work. We'd probably need something custom - either something at the sphinx level (hard) or a custom pre-commit hook (easy-medium) to parse images and look for attribution metadata.Describe alternatives you've considered If we don't have automated checks we'll probably make mistakes with respect to these things. It might sound draconian to enforce rules like this, but I'm trying to be realistic as well.