Skip to content

Commit 6a5e32d

Browse files
GiggleLiuclaude
andcommitted
docs: set rustdoc default theme to dark
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent fd8e3df commit 6a5e32d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: make examples && typst compile docs/paper/reductions.typ book/reductions.pdf
4747

4848
- name: Build rustdoc
49-
run: cargo doc --all-features --no-deps
49+
run: RUSTDOCFLAGS="--default-theme=dark" cargo doc --all-features --no-deps
5050

5151
- name: Combine documentation
5252
run: |

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ doc:
4848
cargo run --example export_graph
4949
cp docs/paper/reduction_graph.json docs/src/reductions/
5050
mdbook build docs
51-
cargo doc --all-features --no-deps
51+
RUSTDOCFLAGS="--default-theme=dark" cargo doc --all-features --no-deps
5252
rm -rf docs/book/api
5353
cp -r target/doc docs/book/api
5454

5555
# Build and serve mdBook with API docs
5656
mdbook:
5757
cargo run --example export_graph
5858
cp docs/paper/reduction_graph.json docs/src/reductions/
59-
cargo doc --all-features --no-deps
59+
RUSTDOCFLAGS="--default-theme=dark" cargo doc --all-features --no-deps
6060
mdbook build
6161
rm -rf book/api
6262
cp -r target/doc book/api

0 commit comments

Comments
 (0)