04:00
Workshop: Quarto for R & RStudio
posit::conf 2023
Websites, like any project, are defined by _quarto.yml
.
Let’s create our first website!
empty-project
quarto create-project --type website
quarto render
quarto publish
Open websites
and click through the file directories to see what’s inside. Try rendering all five of the new .qmd files.
syllabus.qmd
intro-to-data/notes.qmd
intro-to-data/ps.qmd
learning-r/notes.qmd
learning-r/ps.qmd
Post to Discord one piece of Quarto syntax or YAML option that you have never seen before.
04:00
Let’s add some life to our website.
intro-data
notes.Add more features to the website by:
learning-r
to the sidebar navigation.syllabus.qmd
in the top navbar.25:00
If you have a class of documents that you will author many of (over time), you can create adaptive navigation using a Document Listing.
Let’s add a dedicated page for the problem sets.
ps-home.qmd
.ps-home.qmd
.Add a dedicated page for slides.
slides-home.qmd
.ps-home.qmd
.
10:00
ps-home.qmd
to materials.qmd
PS
to Materials
in navbar.