UC Davis DataLab
Maintainer: Nick Ulle <naulle@ucdavis.edu>
The course reader is a live webpage, hosted through GitHub, where you can enter curriculum content and post it to a public-facing site for learners.
To make alterations to the reader:
-
Check in with the reader's current maintainer and notify them about your intended changes. Maintainers might ask you to open an issue, use pull requests, tag your commits with versions, etc.
-
Run
git pull
, or if it's your first time contributing, see Setup. -
Edit the
index.qmd
Quarto Markdown file. Enter your text, code, and other information directly into the file.Put any supporting resources in
data/
orimages/
. Store large files in Google Drive or other cloud storage rather than committing them to the repo. You do not need to add generated resources (such as HTML files). The render step saves these indocs/
automatically. -
In a terminal, navigate to the this repo and run
quarto render
to re-render the website (the files indocs/
). -
When you're finished,
git add
:- Any files you added or edited directly, including in
data/
andimages/
docs/
(all of it)
Then
git commit
andgit push
. The live web page will update automatically after 1-10 minutes. - Any files you added or edited directly, including in
This project uses Quarto. Make sure it is installed before rendering the website.