Skip to content

Commit 70a137a

Browse files
chore: use base path from metadata JSON file for mise tasks (#305)
1 parent cb7fa36 commit 70a137a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mise.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ pinact = "3.1.1"
88
yes = true
99
idiomatic_version_file_enable_tools = []
1010

11+
[vars]
12+
_.file = "website/metadata.json"
13+
1114
[tasks.generate-docs]
12-
run = "cargo run --package typst-docs -- --assets-dir assets --out-file docs.json --base /docs/"
15+
run = "cargo run --package typst-docs -- --assets-dir assets --out-file docs.json --base {{vars.basePath}}"
1316

1417
[tasks.generate-web]
1518
depends = ["install-website"]

0 commit comments

Comments
 (0)