From 7b0f0bbc2a241489b20f1c17da7bad8640c4d733 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 1 Dec 2025 18:13:39 -0700 Subject: [PATCH] feat: Add arguments to Pixi 'build' task * Default to '--html' so the 'build-book' GitHub Actions job builds the correct form of the book with no further input. --- pixi.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pixi.toml b/pixi.toml index 994fb89..e00a834 100644 --- a/pixi.toml +++ b/pixi.toml @@ -32,7 +32,8 @@ cmd = "jupyter lab" [feature.book.tasks.build] description = "Build the Jupyter Book" -cmd = "jupyter-book build" +args = [{"arg" = "OPTION", "default" = "--html"}] +cmd = "jupyter-book build {{ OPTION }}" cwd = "book" [feature.book.tasks.clean]