From fe39e74efbdcca56e0edefa5bb3cabe2dae4135a Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 22 Jul 2026 20:22:28 +0800 Subject: feat(docs): add docsrs flag and unify doc scripts Migrate existing doc scripts to call the deploy-api-docs tool, and add nightly variants that build with --cfg docsrs --- .run/src/bin/doc.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to '.run/src/bin/doc.sh') diff --git a/.run/src/bin/doc.sh b/.run/src/bin/doc.sh index 014ea44..8c809b7 100755 --- a/.run/src/bin/doc.sh +++ b/.run/src/bin/doc.sh @@ -1,7 +1,3 @@ #!/bin/bash -cargo doc \ - --manifest-path mingling/Cargo.toml \ - --no-deps \ - --features docs_rs,core,macros,builds,structural_renderer,repl,comp,parser,picker,clap,extra_macros \ - --open +cargo dev_tool deploy-api-docs -- --open -- cgit