Use '-Zrustdoc-map' to fill in external doc URLs.

This commit is contained in:
Sergio Benitez 2021-03-09 22:00:46 -08:00
parent ab3413826c
commit c9d7b4fbe0
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ fi
echo ":::: Generating the docs..." echo ":::: Generating the docs..."
pushd "${PROJECT_ROOT}" > /dev/null 2>&1 pushd "${PROJECT_ROOT}" > /dev/null 2>&1
RUSTDOCFLAGS="-Z unstable-options --crate-version ${DOC_VERSION}" \ RUSTDOCFLAGS="-Z unstable-options --crate-version ${DOC_VERSION}" \
cargo doc -p rocket -p rocket_contrib --no-deps --all-features cargo doc -Zrustdoc-map -p rocket -p rocket_contrib --no-deps --all-features
popd > /dev/null 2>&1 popd > /dev/null 2>&1
# Blank index, for redirection. # Blank index, for redirection.