Skip to content

Commit 4f22101

Browse files
authored
Merge pull request #1512 from o1-labs/dw/do-not-gen-doc-for-bin
Makefile: do not generate the doc for the bin
2 parents 5987090 + a86f20d commit 4f22101

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)