Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit b5c217a

Browse files
committed
make katex work in docs
1 parent e6234bc commit b5c217a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
mpi: "mpich"
2828
- uses: actions/checkout@v4
2929
- name: Build Rust docs
30-
run: cargo +nightly doc --no-deps -Zunstable-options -Zrustdoc-scrape-examples --all-features
30+
run: RUSTDOCFLAGS="--html-in-header katex-header.html" cargo +nightly doc --no-deps -Zunstable-options -Zrustdoc-scrape-examples --all-features
3131
- name: Make index page
3232
run: echo "<html><head><meta http-equiv='refresh' content='0; URL=ndelement'></head></html>" > target/doc/index.html
3333
- name: Set file permissions

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ blas-src = { version = "0.14", features = ["blis"]}
4444
paste = "1.*"
4545
approx = "0.5"
4646

47-
[build]
48-
rustdocflags = [ "--html-in-header", "katex-header.html" ]
49-
5047
[build-dependencies]
5148
cbindgen = "0.29.*"
5249

0 commit comments

Comments
 (0)