Skip to content

Commit 3d09d4a

Browse files
committed
Add listing page
1 parent 1575233 commit 3d09d4a

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed

docs/advanced/environment-vars.qmd

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: "Environment Variables"
3+
summary: Environment variables Quarto inspects and sets
4+
format: html
5+
draft: true
6+
---
7+
8+
## Variables Quarto inspects
9+
10+
These are variables that you can set to control how Quarto renders documents. For example, you can set them explicitly before running `quarto render`:
11+
12+
```{.bash filename="Terminal"}
13+
export QUARTO_R=/opt/R/4.2.3/bin
14+
quarto render
15+
```
16+
17+
You can read about other ways to set environment variables in Quarto Projects in [Environment Variables](/docs/projects/environment.qmd).
18+
19+
| Variable | Description |
20+
|-----------------|-------------|
21+
| `QUARTO_R` | |
22+
| `QUARTO_PYTHON` | |
23+
| | |
24+
25+
## Variables Quarto sets
26+
27+
These variables are set by Quarto you can query them. For example, you can query them in an executable code cell:
28+
29+
::: {.panel-tabset}
30+
31+
## R
32+
33+
```r
34+
Sys.getenv("QUARTO_DOCUMENT_PATH")
35+
```
36+
37+
## Python
38+
39+
```python
40+
import os
41+
print(os.environ["QUARTO_DOCUMENT_PATH"])
42+
```
43+
44+
## Julia
45+
46+
```julia
47+
ENV["QUARTO_DOCUMENT_PATH"]
48+
```
49+
50+
:::
51+
52+
53+
| Variable | Description |
54+
|---------------------------|-------------|
55+
| `QUARTO_PROJECT_ROOT` | |
56+
| `QUARTO_DOCUMENT_PATH` | |
57+
| | |
58+
59+

docs/advanced/index.qmd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "Advanced User Documentation"
3+
format: html
4+
search: false
5+
listing:
6+
type: table
7+
fields: [title, summary]
8+
field-display-names:
9+
summary: Summary
10+
---
11+
12+
Topics on this page may be of interest to advanced users of Quarto.

docs/advanced/jupyter/kernel-execution.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Jupyter Kernel Execution
33
format: html
4+
summary: How to support Quarto from a Jupyter kernel
45
---
56

67
Quarto executes Jupyter notebooks using [`nbclient`](https://github.com/jupyter/nbclient) together with a few additional options

0 commit comments

Comments
 (0)