Skip to content

Commit

Permalink
[Sync to prerelease] fix: docs/projects/scripts.qmd - fix typo (#1338)
Browse files Browse the repository at this point in the history
Co-authored-by: Gewerd-Strauss <80548781+Gewerd-Strauss@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and Gewerd-Strauss authored Sep 17, 2024
1 parent 8467c24 commit 9cb4f43
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/projects/scripts.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ Pre and post render scripts are run with the main project directory.

The following environment variables are passed to pre and post-render scripts (note that all paths are *relative* to the main project directory):

| Variable | Description |
| Variable | Description |
|-----------------|-------------------------------------------------------|
| `QUARTO_PROJECT_RENDER_ALL` | Set to "1" if this is a render of all files in the project (as opposed to an incremental render or a render for preview). This unset if Quarto is not rendering all files. |
| `QUARTO_PROJECT_OUTPUT_DIR` | Output directory |
| `QUARTO_PROJECT_INPUT_FILES` | Newline separated list of all input files being rendered (passed only to `pre-render`) |
| `QUARTO_PROJECT_OUTPUT_FILES` | Newline separated list of all output files rendered (passed only to `post-render`). |
| `QUARTO_PROJECT_RENDER_ALL` | Set to "1" if this is a render of all files in the project (as opposed to an incremental render or a render for preview). This is unset if Quarto is not rendering all files. |
| `QUARTO_PROJECT_OUTPUT_DIR` | Output directory |
| `QUARTO_PROJECT_INPUT_FILES` | Newline separated list of all input files being rendered (passed only to `pre-render`) |
| `QUARTO_PROJECT_OUTPUT_FILES` | Newline separated list of all output files rendered (passed only to `post-render`). |

The project metadata and render list will be re-computed after any pre-render scripts have executed, allowing them to modify this project data.
For example, a pre-render script might generate additional `qmd` files or `ipynb` files that should be rendered.
Expand Down

0 comments on commit 9cb4f43

Please sign in to comment.