Skip to content

Commit efacf91

Browse files
committed
add docs for the fix described in quarto-dev/quarto-cli#11098
1 parent a21219e commit efacf91

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
@@ -69,6 +69,13 @@ If a pre-render script modifies any of these values, an error will be returned a
6969

7070
If you have a `pre-render` step that is expensive, you may want only run it when the entire project is being rendered. Here's how you would do this in the various supported script languages:
7171

72+
### Advanced: large input and output file lists
73+
74+
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.
75+
76+
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
77+
declared file as the destination of the file list that would have been written in `QUARTO_PROJECT_INPUT_FILES` (respectively, `QUARTO_PROJECT_OUTPUT_FILES`).
78+
7279
::: panel-tabset
7380
## TypeScript
7481

0 commit comments

Comments
 (0)