-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question/Discussion] Deadlinks checker in documents across the repo/library #345
Comments
Why not just use |
Great idea!
Anything that runs as a local pre-commit hook also runs in the GH pre-commit action.
Nice! I think that would make for a great local pre-commit hook (so that feedback is faster than if you wait for the CI jobs) |
IMHO having it as tox tests (e.g. |
I didn't realise it took that long - sure, that makes sense then! |
Looks like you guys have actioned this suggestion already - super cool! |
Are you sure? I didn't think we had 🤣 |
Oh! Really! You haven't :P ! Few ideas were thrown, in the conversations above - not worth pursuing? I was suggesting for the .md files and not just the docs generated. But maybe it's not useful or applicable. |
Yes, I think it's useful (thanks for the suggestion!), we just haven't got round to doing it yet |
I'll give it a whirl, leave it to me, and if don;t then just beat me to it! ;) |
@neomatrix369 the link check should be allowed to fail on CI, since servers might be temporarily down (e.g. codecov times out quite often). |
Just like I have this issue on neomatrix369/awesome-ai-ml-dl#54, I have found a way to manually check for deadlinks in all of my markdown files in a repo.
I think there should be something that looks for such links in .rst and other document files as well.
When we find out, it would be good to add it to the
pre-commit
CI/CD GH action.Can also be added to the local pre-commit.
In both cases it should be run when files that may contain hyperlinks are being committed
The text was updated successfully, but these errors were encountered: