1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/usr/bin/env bash set -eux cd $(dirname $0) cargo doc # cargo-deadlinks will check any links in docs generated by `cargo doc`. # This is useful as rustdoc uses raw links which are error prone. command -v cargo-deadlinks &> /dev/null && cargo deadlinks cd -