Health checks for your documentation links.

502, 503 and 504 http errors# using pip - package installer for Python
pip install deadlinks
# we using custom tap to install deadlinks
brew install butuzov/deadlinks/deadlinks
# activate virtual environment to keep your local site-packages clean.
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
# in case if you developing within forked repository
cd /home/path/to/deadlinks
pip install -r requirements.txt
pip install -e .
See more examples at docs
# Check links (including external) at http://gobyexample.com/ in 10 threads,
# but not ones that leading to domains play.golang.org or github.com
deadlinks gobyexample.com -n 10 -e -d play.golang.org -d github.com
# Limiting check only to links found within /docs path.
deadlinks http://localhost:1313/docs
# Running checks for all local links that belong to a domain.
deadlinks http://localhost:1313/docs/ -n 10 --full-site-check
# Checking local html files
deadlinks internal -n 10 --root=/var/html
# Help yourself
deadlinks --help
Here is a quick start guide to contributing to deadlinks
deadlinks repository.feature branch based on develop.make tests and make lints.pull request back to development branch.All your contributions are welcome!
Content type
Image
Digest
Size
21.3 MB
Last updated
over 5 years ago
docker pull butuzov/deadlinks