File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,9 @@ docs-serve-only: docs-install ## Serve the documentation website locally without
342342.PHONY : docs-rust
343343docs-rust : # # Generate Rust API documentation
344344 @echo " Generating Rust API documentation..."
345- @DATABASE_URL=" sqlite::memory:" cargo doc --no-deps --document-private-items --workspace --exclude heartbeats-processor --lib --bins
345+ # Using nightly with --enable-index-page to generate workspace index
346+ # See: https://github.com/rust-lang/cargo/issues/8229
347+ @DATABASE_URL=" sqlite::memory:" RUSTDOCFLAGS=" --enable-index-page -Zunstable-options" cargo +nightly doc --no-deps --document-private-items --workspace --exclude heartbeats-processor --lib --bins
346348 @echo " Rust documentation generated in target/doc/"
347349 @echo " Entry point: target/doc/index.html"
348350
You can’t perform that action at this time.
0 commit comments