You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please report issues on quarto.org by opening a "Documentation Issue" in the `quarto-dev/quarto-cli` repository: [New Issue](https://github.com/quarto-dev/quarto-cli/issues/new/choose)
8
11
9
-
## Contributing
12
+
## Rendering `quarto-web` locally
10
13
11
14
This section discusses how to contribute to the documentation by rendering a document locally.
12
15
@@ -21,6 +24,8 @@ What is the impact if you modify (or add) a document:
21
24
22
25
### Rendering the whole website
23
26
27
+
When you render `quarto-web`, you should use the current [Pre-release of Quarto](https://quarto.org/docs/download/prerelease.html).
28
+
24
29
To render the whole website locally, you can use the following command:
25
30
26
31
```bash
@@ -83,4 +88,23 @@ If you are adding a new document that may use a new package, follow these steps:
83
88
-`Pipfile` could be manually edited but using the command is recommended.
84
89
- Commit the modified `Pipfile` and `Pipfile.lock` files with your document changes (don't forget any changes in the `_freeze` folder if needed).
85
90
86
-
Documents running python with the Knitr engine will go through **reticulate**. **reticulate** will use the python version defined with `pipenv` when a `PipFile` is present. So, it will use the Python version from `.venv` --- no specific configuration is needed as [reticulate's python discovery mechanism](https://rstudio.github.io/reticulate/articles/versions.html#order-of-discovery) will find it.
91
+
Documents running python with the Knitr engine will go through **reticulate**. **reticulate** will use the python version defined with `pipenv` when a `PipFile` is present. So, it will use the Python version from `.venv` --- no specific configuration is needed as [reticulate's python discovery mechanism](https://rstudio.github.io/reticulate/articles/versions.html#order-of-discovery) will find it.
92
+
93
+
94
+
## Reference pages are automatically generated
95
+
96
+
The tablular data on options listed in the [Reference section](https://quarto.org/docs/reference/) are generated automatically by running:
97
+
98
+
```
99
+
quarto run tools/reference.ts
100
+
```
101
+
102
+
This builds the `.json` files in `docs/references` based on the [Quarto CLI schema](https://github.com/quarto-dev/quarto-cli/tree/main/src/resources/schema). The script assumes you have `quarto-cli/` at the same level in your directory structure as `quarto-web/`.
103
+
104
+
## GitHub Action Workflows
105
+
106
+
Our GitHub Action workflows are documented in [`.github/workflows/README.md`](.github/workflows/README.md)
107
+
108
+
## Style Guide
109
+
110
+
You can find some style guidance in [style-guide.md](style-guide.md).
* Use relative paths for child or sibling documents. E.g. `images/fig-1.png`, `pdf-basics.qmd`. **Avoid** using `http://quarto.org` for internal links.
8
+
* Prefer absolute paths from the root of the project over relative paths involving `../`. E.g. use `/docs/output-formats/html-themes.qmd`, not `../output-formats/html-themes.qmd`.
9
+
* Possible exception: documents in a subfolder of a section that link to the section root, e.g. you may use `../index.qmd` to refer to `docs/manuscripts/index.qmd` from `docs/manuscripts/authoring/index.qmd`.
10
+
* Use `.qmd` instead of `.html`. E.g. use `content.qmd#editing-tables`, not `content.html#editing-tables`
0 commit comments