Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: docs/projects/scripts.qmd - fix typo #1337

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading