Skip to content

Commit 3848777

Browse files
authored
Add documentation for fix in quarto-dev/quarto-cli#10828 (#1388)
* add docs for the fix described in quarto-dev/quarto-cli#11098 * put docs in the right place
1 parent a21219e commit 3848777

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/projects/scripts.qmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ end
103103
```
104104
:::
105105

106+
### Advanced: large input and output file lists
107+
108+
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.
109+
110+
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
111+
declared file as the destination of the file list that would have been written in `QUARTO_PROJECT_INPUT_FILES` (respectively, `QUARTO_PROJECT_OUTPUT_FILES`).
112+
106113
## Deno Scripts {#deno-scripts}
107114

108115
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:

0 commit comments

Comments
 (0)