From 384877788da42f8a3904dfab6592662bc16b15b9 Mon Sep 17 00:00:00 2001 From: Carlos Scheidegger <285675+cscheid@users.noreply.github.com> Date: Thu, 17 Oct 2024 13:18:10 -0700 Subject: [PATCH] Add documentation for fix in https://github.com/quarto-dev/quarto-cli/issues/10828 (#1388) * add docs for the fix described in https://github.com/quarto-dev/quarto-cli/pull/11098 * put docs in the right place --- docs/projects/scripts.qmd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/projects/scripts.qmd b/docs/projects/scripts.qmd index d5cb0b3627..e1ac034d55 100644 --- a/docs/projects/scripts.qmd +++ b/docs/projects/scripts.qmd @@ -103,6 +103,13 @@ end ``` ::: +### Advanced: large input and output file lists + +In some execution environments, the maximum size of an environment might be limited. In this case, a pre- or post-render script invocation might fail when Quarto attempts to build the appropriate environment variables. + +In such scenarios, you can declare the environment variable `QUARTO_USE_FILE_FOR_PROJECT_INPUT_FILES` (respectively, `QUARTO_USE_FILE_FOR_PROJECT_OUTPUT_FILES`) to direct Quarto to use the +declared file as the destination of the file list that would have been written in `QUARTO_PROJECT_INPUT_FILES` (respectively, `QUARTO_PROJECT_OUTPUT_FILES`). + ## Deno Scripts {#deno-scripts} If you want to create project scripts with TypeScript, `quarto run` enables you to use the [Deno](https://deno.land/) TypeScript interpreter bundled with Quarto. This interpreter also includes much of Deno's [standard library](https://docs.deno.com/runtime/manual/basics/standard_library). For example, to use the Deno YAML parser you would do this: