diff --git a/env_setup.bat b/env_setup.bat index f60008e9e..f7ee37690 100644 --- a/env_setup.bat +++ b/env_setup.bat @@ -1 +1,2 @@ set JULIAUP_DEPOT_PATH=%~dp0 +set QUARTO_PYTHON=python diff --git a/env_setup.sh b/env_setup.sh index 15e083050..74a3d0b94 100644 --- a/env_setup.sh +++ b/env_setup.sh @@ -1,3 +1,5 @@ #!/bin/bash JULIAUP_DEPOT_PATH=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) export JULIAUP_DEPOT_PATH +QUARTO_PYTHON=python +export QUARTO_PYTHON diff --git a/pixi.toml b/pixi.toml index 69e20235a..87b248240 100644 --- a/pixi.toml +++ b/pixi.toml @@ -33,11 +33,11 @@ build-julia-docs = { cmd = "julia --project=docs docs/make.jl", depends_on = [ "instantiate-julia", ] } quartodoc-build = { cmd = "quartodoc build && rm objects.json", cwd = "docs" } -quarto-preview = { cmd = "export QUARTO_PYTHON=python && quarto preview docs", depends_on = [ +quarto-preview = { cmd = "quarto preview docs", depends_on = [ "quartodoc-build", ] } quarto-check = { cmd = "quarto check all", depends_on = ["quartodoc-build"] } -quarto-render = { cmd = "julia --project=docs --eval 'using Pkg; Pkg.build(\"IJulia\")' && export QUARTO_PYTHON=python && quarto render docs --to html --execute", depends_on = [ +quarto-render = { cmd = "julia --project=docs --eval 'using Pkg; Pkg.build(\"IJulia\")' && quarto render docs --to html --execute", depends_on = [ "quartodoc-build", ] } docs = { depends_on = ["build-julia-docs", "quarto-preview"] }