-
Notifications
You must be signed in to change notification settings - Fork 692
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
[CI] Add lychee
link checker with pre-commit
#1366
base: master
Are you sure you want to change the base?
Conversation
Clean up and improve the docs. Update the Makefile. https://github.com/lycheeverse/lychee "Fast, async, stream-based link checker written in Rust. Finds broken URLs and mail addresses inside Markdown, HTML, reStructuredText, websites and more!"
After we fix the remaining broken links we can then choose going forwards to just check the links in modified files by running The full check is taking 3 minutes so far. |
"http://localhost:.*", | ||
"https://whimsy.apache.org/officers/acreq.*", | ||
"https://whimsy.apache.org/roster/pmc/sedona.*", | ||
"https://www.datasyslab.net/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jiayuasu this datasyslab
link is broken
sedona/docs/community/publication.md
Line 3 in 181ad31
Apache Sedona was formerly called GeoSpark, initiated by Arizona State University [Data Systems Lab](https://www.datasyslab.net/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jbampton Can you replace it with this one: https://datasystemslab.engineering.asu.edu/
lychee
link checker with pre-commit
lychee
link checker with pre-commit
Clean up and improve the docs. Update the Makefile.
https://github.com/lycheeverse/lychee
"Fast, async, stream-based link checker written in Rust. Finds broken URLs and mail addresses inside Markdown, HTML, reStructuredText, websites and more!"
Did you read the Contributor Guide?
Is this PR related to a JIRA ticket?
[DOCS] my subject
.What changes were proposed in this PR?
Updated our hooks with
pre-commit autoupdate
Added the lychee link checker.
fixes #1360
lychee
seems to be more advanced thanmarkdown-link-check
.In future we can add pre-commit inside Docker to allow contributors to run the pre-commit tests with Docker.
Since link checker tests can sometimes make a lot of noise and fail, I have separated the link checker from the other pre-commit checks.
How was this patch tested?
Ran Makefile command:
make checklinks
Ran pre-commit ( no link checker):
make check
This is my current output from running lychee locally
We have two broken links.
Did this PR include necessary documentation updates?