Check for broken links in CI
Add `-- -D rustdoc::broken-intra-doc-links` to the docs build in CI to check for broken links. In order to use this flag use `cargo rustdoc` instead of `cargo doc`.
This commit is contained in:
parent
e3f6d23b49
commit
ade888e922
|
@ -64,7 +64,7 @@ fi
|
||||||
|
|
||||||
# Build the docs if told to (this only works with the nightly toolchain)
|
# Build the docs if told to (this only works with the nightly toolchain)
|
||||||
if [ "$DO_DOCS" = true ]; then
|
if [ "$DO_DOCS" = true ]; then
|
||||||
RUSTDOCFLAGS="--cfg docsrs" cargo doc --all --features="$FEATURES"
|
RUSTDOCFLAGS="--cfg docsrs" cargo rustdoc --features="$FEATURES" -- -D rustdoc::broken-intra-doc-links
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Webassembly stuff
|
# Webassembly stuff
|
||||||
|
|
Loading…
Reference in New Issue