parent
12bc90ef69
commit
65eb7e8357
|
@ -235,28 +235,19 @@ For learning more about Shiny, we recommend reading Mastering Shiny by Hadley Wi
|
|||
|
||||
## 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.
|
||||
`index.qmd` will become the home page.
|
||||
|
||||
- Add a YAML file named `_quarto.yml` that provides the navigation for the site.
|
||||
In this file, set the `project` type:
|
||||
|
||||
- For a website, set `type: book`:
|
||||
In this file, set the `project` type to either `book` or `website`, e.g.:
|
||||
|
||||
``` yaml
|
||||
project:
|
||||
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`.
|
||||
|
||||
```{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).
|
||||
|
||||
- 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).
|
||||
It will help you create dashboards that are truly useful, not just pretty to look at.
|
||||
|
|
Loading…
Reference in New Issue