epwalsh / check-links

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:Rust 95.4%Language:Makefile 4.6%