templates/cg_config.rb_sample in coursegen-0.7.4 vs templates/cg_config.rb_sample in coursegen-0.7.5

- old
+ new

@@ -1,44 +1,38 @@ require 'coursegen' -# bucket for AWS Deployment of the course -AWS_BUCKET = "cosi236b.courses.salas.com" - -# Local directory path for directory of content -CONTENT_PATH = "/mydev/cosi236b" - # Copyright string -COPYRIGHT_STRING = "Copyright (2013-2014) R. Pito Salas, pitosalas@gmail.com" +COPYRIGHT_STRING = "Copyright (2014-2019) R. Pito Salas, pitosalas@brandeis.edu".freeze +# bucket for AWS Deployment of the course +AWS_BUCKET = "cosi105b".freeze + # Course short name -COURSE_SHORT_NAME = "COSI 236B" -COURSE_LONG_NAME = "Software Engineering" +COURSE_SHORT_NAME = "Cosi 105b".freeze +COURSE_LONG_NAME = "Software Engineering for Scalability ".freeze +COURSE_ABBREV = "cs105".freeze # Schedule information. Note that Monday is day 0 LECTURES_SCHEDULE_CONFIG = ScheduleDef.new( - first_day: "jan-14-2014", - weekdays: [:tuesday, :friday], - number: 26, - skips: ["feb-18-2014", "feb-21-2014", "apr-15-2014", "apr-18-2014", "apr-22-2014"]) + first_day: "jan-15-2019", + weekdays: [:tuesday, :thursday], + number: 30, + start_times: ["15:30", "15:30"], + end_times: ["16:50", "16:50"], + start_time: "15:30", + end_time: "16:50", + skips: ["jan-22-2019", "feb-19-2019", "feb-21-2019", "apr-23-2019", "apr-25-2019", "may-2-2019"]) -LABS_SCHEDULE_CONFIG = ScheduleDef.new( - first_day: "jan-16-2014", - weekdays: [:thursday], - number: 13, - skips: ["feb-20-2014", "apr-17-2014"]) - # Sections in the right hand margin of the page SECTION_CONFIG = [ - SectionDef.new("Lectures", "lectures", type: :lecture, schedule: LECTURES_SCHEDULE_CONFIG), - SectionDef.new("Labs", "lab", type: :lecture, schedule: LABS_SCHEDULE_CONFIG), - SectionDef.new("Incubator", "incubator", type: :section), - SectionDef.new("PA", "pa", type: :section), - SectionDef.new("Crib Sheets", "cribsheets", type: :section), - SectionDef.new("Background", "background", type: :section), - SectionDef.new("Root", "root", hidden: true, type: :section), - SectionDef.new("Topics", "topics", hidden: true, type: :section), - SectionDef.new("Hidden", "hidden", hidden: true, type: :section) -] + SectionDef.new("Intro", "intro", type: :section, bullet: :star), + SectionDef.new("Lectures", "lectures", type: :lecture, schedule: LECTURES_SCHEDULE_CONFIG, + bullet: :dash), + SectionDef.new("Topics", "topics", hidden: true, type: :section), + SectionDef.new("Extras", "extras", hidden: true, type: :section) +].freeze # Options are: # bullet_style: css style for each bullet -STYLING_CONFIG = {bullet_style: "\"font-size: 60%; width: 10px; color: grey\""} +STYLING_CONFIG = {bullet_style: %("font-size: 60%; width: 10px; color: grey")}.freeze +HOME_PAGE = "/content/intro/05_syllabus.md.erb".freeze +HELPFUL_BOX = false