From c04df33fba43c41548d5cc7b3fe2d746f639798e Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 20 Jul 2026 12:54:49 +0800 Subject: feat: add docs_rs feature and improve documentation build Add `docs_rs` feature flag to enable docs.rs-specific configuration, including `--generate-link-to-definition` and logo display. Include the feature in build scripts, editor settings, and feature constants for consistent documentation generation. --- .run/src/bin/doc.ps1 | 2 +- .run/src/bin/doc.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.run/src') diff --git a/.run/src/bin/doc.ps1 b/.run/src/bin/doc.ps1 index b589ded..0e55141 100644 --- a/.run/src/bin/doc.ps1 +++ b/.run/src/bin/doc.ps1 @@ -1,5 +1,5 @@ cargo doc ` --manifest-path mingling/Cargo.toml ` --no-deps ` - --features core,macros,builds,structural_renderer,repl,comp,parser,picker,clap,extra_macros ` + --features docs_rs,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 b98941a..014ea44 100644 --- a/.run/src/bin/doc.sh +++ b/.run/src/bin/doc.sh @@ -3,5 +3,5 @@ cargo doc \ --manifest-path mingling/Cargo.toml \ --no-deps \ - --features core,macros,builds,structural_renderer,repl,comp,parser,picker,clap,extra_macros \ + --features docs_rs,core,macros,builds,structural_renderer,repl,comp,parser,picker,clap,extra_macros \ --open -- cgit