From 7bc63caedf308315647aa7582537e9831844051d Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 23 Jul 2026 23:06:58 +0800 Subject: feat: add `doc` target to Makefile Add a `make doc` recipe that builds and opens documentation with `cargo doc --no-deps --open`, and register it in the `.PHONY` list. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8176780..20ea224 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,12 @@ -.PHONY: check clippy check-lock test-crate test-sync test-async expand fmt-expand lock +.PHONY: check clippy check-lock test-crate test-sync test-async expand fmt-expand lock doc # make check check: clippy expand fmt-expand test-crate test-sync test-async check-lock +# make doc +doc: + cargo doc --no-deps --open + # make lock lock: for f in doc/usage/*_expand.rs; do \ -- cgit