Skip to content

Commit 33a355c

Browse files
feat: Add arguments to Pixi 'build' task (#112)
* Default to '--html' so the 'build-book' GitHub Actions job builds the correct form of the book with no further input.
1 parent d8d6d4f commit 33a355c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pixi.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ cmd = "jupyter lab"
3232

3333
[feature.book.tasks.build]
3434
description = "Build the Jupyter Book"
35-
cmd = "jupyter-book build"
35+
args = [{"arg" = "OPTION", "default" = "--html"}]
36+
cmd = "jupyter-book build {{ OPTION }}"
3637
cwd = "book"
3738

3839
[feature.book.tasks.clean]

0 commit comments

Comments
 (0)