Skip to content

Commit d53883e

Browse files
authored
Merge pull request #1148 from quarto-dev/readme
Updates to README
2 parents 1575233 + 3af5d62 commit d53883e

File tree

2 files changed

+36
-3
lines changed

2 files changed

+36
-3
lines changed

README.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# quarto-web
22

3-
This is the repo for the documentation hosted at [quarto.org](https://quarto.org/).
3+
This is the repo for the documentation hosted at:
4+
5+
* **Current release:** [quarto.org](https://quarto.org/)
6+
* **Pre-release:** [prerelease.quarto.org](https://prerelease.quarto.org/)
47

58
## Reporting Issues
69

710
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)
811

9-
## Contributing
12+
## Rendering `quarto-web` locally
1013

1114
This section discusses how to contribute to the documentation by rendering a document locally.
1215

@@ -21,6 +24,8 @@ What is the impact if you modify (or add) a document:
2124

2225
### Rendering the whole website
2326

27+
When you render `quarto-web`, you should use the current [Pre-release of Quarto](https://quarto.org/docs/download/prerelease.html).
28+
2429
To render the whole website locally, you can use the following command:
2530

2631
```bash
@@ -83,4 +88,23 @@ If you are adding a new document that may use a new package, follow these steps:
8388
- `Pipfile` could be manually edited but using the command is recommended.
8489
- Commit the modified `Pipfile` and `Pipfile.lock` files with your document changes (don't forget any changes in the `_freeze` folder if needed).
8590

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).

style-guide.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Terminology
2+
3+
## Link Recommendations
4+
5+
* 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.
6+
* 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`.
7+
* 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`.
8+
* Use `.qmd` instead of `.html`. E.g. use `content.qmd#editing-tables`, not `content.html#editing-tables`
9+
* Possible exception: links in blog posts

0 commit comments

Comments
 (0)