I find markdown link checks highly useful, even if they only check relative links in the repo. Examples:
I still often encounter dead relative links from source code, though. For example, people often reference other files from source code comments.
Do you think it would make sense to offer a pre-commit hook that verifies relative links in source code? It could expect some pattern (possibly r"<[^\n]>") to define a relative, checked link, and then verify existence in the repo.
I find markdown link checks highly useful, even if they only check relative links in the repo. Examples:
I still often encounter dead relative links from source code, though. For example, people often reference other files from source code comments.
Do you think it would make sense to offer a pre-commit hook that verifies relative links in source code? It could expect some pattern (possibly
r"<[^\n]>") to define a relative, checked link, and then verify existence in the repo.