aboutsummaryrefslogtreecommitdiff
path: root/.run/src/bin
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-03 00:45:34 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-03 00:45:34 +0800
commit9600ffd9d0ad8d736859dbbf828de1321abc21e0 (patch)
treece6aa9ba75822ff7fb80523c244b44819db094af /.run/src/bin
parentb9d5d8e2c442d73245b66c585afde8846c38d9c1 (diff)
chore(docs): add Arborium header to docs build
Add the Arborium JS library header to the documentation build via RUSTDOCFLAGS and docs.rs metadata so generated docs include the interactive Arborium components.
Diffstat (limited to '.run/src/bin')
-rwxr-xr-x[-rw-r--r--].run/src/bin/doc-nightly.sh0
-rw-r--r--.run/src/bin/doc.ps12
-rwxr-xr-x.run/src/bin/doc.sh2
3 files changed, 2 insertions, 2 deletions
diff --git a/.run/src/bin/doc-nightly.sh b/.run/src/bin/doc-nightly.sh
index 944f4b3..944f4b3 100644..100755
--- a/.run/src/bin/doc-nightly.sh
+++ b/.run/src/bin/doc-nightly.sh
diff --git a/.run/src/bin/doc.ps1 b/.run/src/bin/doc.ps1
index eec3dc5..731168c 100644
--- a/.run/src/bin/doc.ps1
+++ b/.run/src/bin/doc.ps1
@@ -1,4 +1,4 @@
-cargo doc `
+$env:RUSTDOCFLAGS="--html-in-header mingling/arborium-header.html"; cargo doc `
--manifest-path mingling/Cargo.toml `
--no-deps `
--features docs_rs,core,macros,builds,structural_renderer,repl,comp,parser,picker,clap,extra_macros,pathf `
diff --git a/.run/src/bin/doc.sh b/.run/src/bin/doc.sh
index 9267a07..d6181d3 100755
--- a/.run/src/bin/doc.sh
+++ b/.run/src/bin/doc.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-cargo doc \
+RUSTDOCFLAGS="--html-in-header mingling/arborium-header.html" cargo doc \
--manifest-path mingling/Cargo.toml \
--no-deps \
--features docs_rs,core,macros,builds,structural_renderer,repl,comp,parser,picker,clap,extra_macros,pathf \