From 12d8d151de77ea219d96b22df6f1172433a7d87f Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 20 Jul 2026 12:07:48 +0800 Subject: fix(doc): target doc generation at mingling workspace root Use `--manifest-path mingling/Cargo.toml` instead of `--workspace` to avoid generating documentation for unintended root workspace crates --- .run/src/bin/doc.ps1 | 6 +++++- .run/src/bin/doc.sh | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.run/src/bin/doc.ps1 b/.run/src/bin/doc.ps1 index fd7afaa..b589ded 100644 --- a/.run/src/bin/doc.ps1 +++ b/.run/src/bin/doc.ps1 @@ -1 +1,5 @@ -cargo doc --workspace --no-deps --features core,macros,builds,structural_renderer,repl,comp,parser,picker,clap,extra_macros --open +cargo doc ` + --manifest-path mingling/Cargo.toml ` + --no-deps ` + --features core,macros,builds,structural_renderer,repl,comp,parser,picker,clap,extra_macros ` + --open diff --git a/.run/src/bin/doc.sh b/.run/src/bin/doc.sh index 2d59896..b98941a 100644 --- a/.run/src/bin/doc.sh +++ b/.run/src/bin/doc.sh @@ -1,3 +1,7 @@ #!/bin/bash -cargo doc --workspace --no-deps --features core,macros,builds,structural_renderer,repl,comp,parser,picker,clap,extra_macros --open +cargo doc \ + --manifest-path mingling/Cargo.toml \ + --no-deps \ + --features core,macros,builds,structural_renderer,repl,comp,parser,picker,clap,extra_macros \ + --open -- cgit