Crates.io | check-links |
lib.rs | check-links |
version | 0.2.1 |
source | src |
created_at | 2019-09-24 19:47:35.597102 |
updated_at | 2019-12-12 00:22:00.791439 |
description | Command-line utility for finding stale links in documentation |
homepage | https://github.com/epwalsh/check-links |
repository | https://github.com/epwalsh/check-links |
max_upload_size | |
id | 167368 |
size | 78,916 |
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.
cargo install check-links
git clone https://github.com/epwalsh/check-links.git
cd check-links
make release
ln -s [current directory]/target/release/check-links ~/bin/
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.