Skip to content

Commit 899d178

Browse files
committed
Add docsrs-check make target
1 parent 1ef140b commit 899d178

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ docs-python:
8787
docs-rust:
8888
RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly doc --all-features --no-deps --workspace
8989

90+
.PHONY: docsrs-check
91+
docsrs-check:
92+
RUSTDOCFLAGS="--cfg docsrs" cargo hack --workspace doc --no-deps --all-features
93+
9094
.PHONY: clippy
9195
clippy:
9296
cargo clippy --fix --all-targets --all-features -- -D warnings -W clippy::pedantic -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used

0 commit comments

Comments
 (0)