For example, I'd like to use [the `-W` option](https://docs.readthedocs.io/en/stable/guides/cross-referencing-with-sphinx.html#invalid-targets) to warn me if there are invalid references in the docs. I can't currently do this via the pre-commit hook.