Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit 45addbd

Browse files
committed
justfile: Add a docs build command
1 parent 4b0bd28 commit 45addbd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

justfile

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ fmt:
2121
format:
2222
cargo +$(cat ./nightly-version) fmt --all --check
2323

24+
# Generate documentation.
25+
docsrs *flags:
26+
RUSTDOCFLAGS="--cfg docsrs -D warnings -D rustdoc::broken-intra-doc-links" cargo +$(cat ./nightly-version) doc --all-features {{flags}}
27+
2428
# Update the recent and minimal lock files.
2529
update-lock-files:
2630
contrib/update-lock-files.sh

0 commit comments

Comments
 (0)