Fix typos

Fixes #1176
This commit is contained in:
Hadley Wickham 2022-12-08 14:41:37 -06:00
parent 12bc90ef69
commit 65eb7e8357
1 changed files with 3 additions and 12 deletions

View File

@ -235,28 +235,19 @@ For learning more about Shiny, we recommend reading Mastering Shiny by Hadley Wi
## Websites and books ## Websites and books
With a little additional infrastructure you can use Quarto to generate a complete website: With a little additional infrastructure you can use Quarto to generate a complete website or book:
- Put your `.qmd` files in a single directory. - Put your `.qmd` files in a single directory.
`index.qmd` will become the home page. `index.qmd` will become the home page.
- Add a YAML file named `_quarto.yml` that provides the navigation for the site. - Add a YAML file named `_quarto.yml` that provides the navigation for the site.
In this file, set the `project` type: In this file, set the `project` type to either `book` or `website`, e.g.:
- For a website, set `type: book`:
``` yaml ``` yaml
project: project:
type: book type: book
``` ```
- For a website, set `type: website`:
``` yaml
project:
type: website
```
For example, the following `_quarto.yml` file creates a website from three source files: `index.qmd` (the home page), `viridis-colors.qmd`, and `terrain-colors.qmd`. For example, the following `_quarto.yml` file creates a website from three source files: `index.qmd` (the home page), `viridis-colors.qmd`, and `terrain-colors.qmd`.
```{r} ```{r}
@ -302,7 +293,7 @@ To learn more about effective communication in these different formats we recomm
- If you give academic talks, you might like the [*Leek group guide to giving talks*](https://github.com/jtleek/talkguide). - If you give academic talks, you might like the [*Leek group guide to giving talks*](https://github.com/jtleek/talkguide).
- We haven't taken it outselves, but we've heard good things about Matt McGarrity's online course on public speaking: <https://www.coursera.org/learn/public-speaking>. - We haven't taken it ourselves, but we've heard good things about Matt McGarrity's online course on public speaking: <https://www.coursera.org/learn/public-speaking>.
- If you are creating a lot of dashboards, make sure to read Stephen Few's [*Information Dashboard Design: The Effective Visual Communication of Data*](https://www.amazon.com/Information-Dashboard-Design-Effective-Communication/dp/0596100167). - If you are creating a lot of dashboards, make sure to read Stephen Few's [*Information Dashboard Design: The Effective Visual Communication of Data*](https://www.amazon.com/Information-Dashboard-Design-Effective-Communication/dp/0596100167).
It will help you create dashboards that are truly useful, not just pretty to look at. It will help you create dashboards that are truly useful, not just pretty to look at.