::include_graphics("images/01-website-new-project.png") knitr
Websites
Slides
Exercises
For exercises in this module we’ll use documents that you prepared as part of your pre-work assignments: Pre-work Assignment 5: About page.
We will work through the following steps in class
Create a website
Write up your About page using the Quarto file format.
Open the “Content” page of the Posit Cloud workspace for the course: https://posit.cloud/spaces/502701/content/all?sort=created_time_desc
Click on “New Project” button to create a new project
- Click on “New RStudio Project”
::include_graphics("images/02-website-new-project-rstudio.png") knitr
- While the project deploys, rename it from “Untitled Project” to “website” by clicking on the “Untitled Project” text in the top-left corner of the RStudio window. You can also rename it after deployment has concluded.
::include_graphics("images/03-website-rename.png") knitr
- Delete the
setup.qmd
from the Files in the bottom-right window.
::include_graphics("images/04-website-delete-setup.png") knitr
Delete or update the
README.md
file in the Files in the bottom-right window.Create a Blank file using Quarto Document, name it
index.qmd
and save it in the root of the project.
::include_graphics("images/05-website-new-quarto-doc.png") knitr
::include_graphics("images/06-website-name-index.png") knitr
- Open the
index.qmd
file and write up your page with guidance (e.g. copy/paste and replace) from Quarto documentation for About Pages
::include_graphics("images/07-website-copy-about.png") knitr
Render the
index.qmd
file to see what your website will look likeKeep updating the
index.qmd
until you are satisfied with the content and layout (e.g. try a different template, add your profile photo to the project folder, etc.)