diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-20 12:07:48 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-20 12:07:48 +0800 |
| commit | 12d8d151de77ea219d96b22df6f1172433a7d87f (patch) | |
| tree | 5b4abcb605b943a2baf9172f8ae36538ab24e6c5 | |
| parent | a5ab5528a9bb1cc523a0652f737109bb8823204b (diff) | |
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
| -rw-r--r-- | .run/src/bin/doc.ps1 | 6 | ||||
| -rw-r--r-- | .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 |
