Avoid generating unused docs index page.

The unstable flag also results in rustdoc emitting absolute links, which
breaks versioned documentation.
This commit is contained in:
Sergio Benitez 2024-02-21 09:54:12 -08:00
parent ee59f26ec8
commit a866134212
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ pushd "${PROJECT_ROOT}" > /dev/null 2>&1
# Set the crate version and fill in missing doc URLs with docs.rs links. # Set the crate version and fill in missing doc URLs with docs.rs links.
RUSTDOCFLAGS="-Z unstable-options \ RUSTDOCFLAGS="-Z unstable-options \
--crate-version ${DOC_VERSION} \ --crate-version ${DOC_VERSION} \
--enable-index-page" \ --generate-link-to-definition" \
cargo doc -Zrustdoc-map --no-deps --all-features \ cargo doc -Zrustdoc-map --no-deps --all-features \
-p rocket \ -p rocket \
-p rocket_db_pools \ -p rocket_db_pools \