Skip to content

Commit a86f20d

Browse files
committed
Makefile: do not generate the doc for the bin
1 parent ec712fd commit a86f20d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,11 @@ docs-rust: ## Generate Rust API documentation
520520
@echo "Generating Rust API documentation..."
521521
# Using nightly with --enable-index-page to generate workspace index
522522
# See: https://github.com/rust-lang/cargo/issues/8229
523-
@DATABASE_URL="sqlite::memory:" RUSTDOCFLAGS="--enable-index-page -Zunstable-options -D warnings" cargo +$(NIGHTLY_RUST_VERSION) doc --no-deps --document-private-items --workspace --exclude heartbeats-processor --lib --bins
523+
@DATABASE_URL="sqlite::memory:" \
524+
RUSTDOCFLAGS="--enable-index-page -Zunstable-options -D warnings" \
525+
cargo +$(NIGHTLY_RUST_VERSION) doc --no-deps \
526+
--document-private-items --workspace \
527+
--exclude heartbeats-processor --lib
524528
@echo "Rust documentation generated in target/doc/"
525529
@echo "Entry point: target/doc/index.html"
526530

0 commit comments

Comments
 (0)