#ci #cli #links #documentation #command-line-tool #finding #utility

app check-links

Command-line utility for finding stale links in documentation

3 unstable releases

0.2.1 Dec 12, 2019
0.2.0 Dec 10, 2019
0.1.0 Sep 24, 2019

#49 in #finding

MIT/Apache

21KB
452 lines

check-links

Build Status Latest version License

A command-line utility for finding stale links in your crate's documentation.

Run check-links in the root of your project to recursively search for bad links across Markdown files and documentation comments in source files.

Installing

From cargo:

cargo install check-links

From source:

git clone https://github.com/epwalsh/check-links.git
cd check-links
make release
ln -s [current directory]/target/release/check-links ~/bin/

A note about spamming the internet

This script can be a useful addition to your CI pipeline to catch stale documentation, but if you have a ton of HTTP links in your project you may want to avoid running check-links too often, as your CI server could end up being blocked or rate-limited by certain hosts.

Dependencies

~23–33MB
~580K SLoC