Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmchiu committed Nov 4, 2024
1 parent f6aa93b commit c6d2d77
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
# CS 161 Staff Website
# CS 161 Template Website

New course website for SU23 developed by Peyrin (ping on Slack in the `#website` channel if there are any problems).
New course website for SU23 developed by Peyrin.

## General Instructions

A majority of the information that needs to be updated semester-to-semester is
- `_data/` folder
- `calendar.yml`: This requires the Google Calendar API in order to generate a color-coded course calendar (see `calendar.md`).
- `exams.yml`: Target updates to `exam.md` depending on which exam is the current one.
- `faqs.yml`: Depending on whether your course has FAQs regarding enrollment that are similar semester-to-semester, you can use this to update important dates.
- `homeworks.yml`, `lectures.yml`, `projects.yml`: Each assignment or lecture has it's own attributes; the comments on each individual page provide information on how to update them.
- `proj1_assignment.yml`: You can provide assignemnt specific attributes (see how these attributes are utilized in `proj1/index.md`). This allows you to re-use project pages (such as `proj1/index.md`) without worry that you're forgetting to update a link or date.
- `syllabus.yml`: This houses all important dates, and is utilized to create the calendar on the front page.
- `_staffers` folder
- Make one `.md` file per member of course staff, following the template provided. Note that if you set a staffer's role as `TA with role`, mark their `lead` (this could be `Head TA`, or a specific area of course staff that they manage).
- You can also optionally add biographies for each member of staff.
- Post each staff member's image in `assets/staff`.

## Updating assignments

Expand All @@ -19,5 +33,10 @@ To update the website, just push to this repo, and the website will automaticall

To build the website locally, [install Jekyll](https://jekyllrb.com/docs/installation/) and run `bundle exec jekyll serve`.

## Scheduling assignment release
If you've made a PR for an assignment release, and would like to schedule that PR to merge, feel free to utilize the workflow here in `.github/workflows/merge-schedule.yml`.

This has a cron job set up, which runs each hour. If you set the comment on the PR in GitHub to be `/schedule YYYY-MM-DDT07:00:00.000Z`, this will release on `YYYY-MM-DD` at 7AM UTC, which is midnight in Pacific time. Feel free to customize as desired.

## [NEW] SU24: Beginning of semester setup
Refer to this [GitHub gist](https://gist.github.com/ashmchiu/797f80d9d4c1d674b9868c0a01b633c0) for information on setting up the website to deploy on inst.eecs.
1 change: 0 additions & 1 deletion _data/readings.yml

This file was deleted.

0 comments on commit c6d2d77

Please sign in to comment.