Skip to content

Commit 501093a

Browse files
GiggleLiuclaude
andcommitted
fix: add --root flag to typst compile in docs workflow
The Makefile uses `--root ..` when compiling from docs/paper/, but the CI workflow was missing it, causing Typst to reject the relative path to reduction_graph.json as outside the project root. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9cf7250 commit 501093a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: mdbook build
4343

4444
- name: Build examples and PDF
45-
run: make examples && typst compile docs/paper/reductions.typ book/reductions.pdf
45+
run: make examples && typst compile --root docs docs/paper/reductions.typ book/reductions.pdf
4646

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

0 commit comments

Comments
 (0)