Skip to content
/ fa16 Public
forked from cs10/fa16

The repo for the CS10 Fall 2016 website

Notifications You must be signed in to change notification settings

straversi/fa16

 
 

Repository files navigation

Background

The Fall 2016 site is built using Jekyll and is hosted on Github, with a backup on the CS10 instructional account.

Currently, there isn't much fancy work being done with Jekyll -- just a few include statements and basic page layouts.

Jekyll

This site is built with Jekyll. To build the site, you need Jekyll and Ruby installed. Github has some fairly straight forward instructions, here: https://help.github.com/articles/using-jekyll-with-pages/

To preview the site you should run: bundle exec jekyll serve

Updating the Website

The most common file to edit will be assets/schedule.js which defines the main class calendar. There are 4 main functions (reading, lab, lect, hw) for each type of item on the calendar. Their inputs are listed at the top of the file.

Some things:

  • lectures content should go in lecture/## - Title/ and should not include the source files
  • discussion resources should go in discussion/##/

TODO: A note about directory listings

Web Dependencies

  • Bootstrap
  • jQuery
  • FullCalendarJS -- for the Google Calendar schedule
  • MomentJS -- needed for FullCalendar and is a date API used in other places

Note: The use of FullCalendar requires a Google Developer account, but these are free and there shouldn't be much configuration needed. The API key is supplied in the configuration file. You need a free Google Developer Console account to get a calendar API if the current one is broken.

About

The repo for the CS10 Fall 2016 website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.0%
  • CSS 12.3%
  • HTML 10.8%
  • Ruby 0.9%