mirror of https://github.com/rwf2/Rocket.git
Use '-Zrustdoc-map' to fill in external doc URLs.
This commit is contained in:
parent
ab3413826c
commit
c9d7b4fbe0
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue