This repository has been archived by the owner on Nov 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
cg_config.rb_sample
46 lines (36 loc) · 1.56 KB
/
cg_config.rb_sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
require './lib/schedule_def.rb'
require './lib/section_def.rb'
# URL for AWS Deployment of the course
AWS_BUCKET = "cosi236b.courses.salas.com"
# Local directory path for directory of topics
TOPICS_PATH = "/mydev/curriculous-topics"
# Local directory path for directory of content
CONTENT_PATH = "/mydev/cosi236b"
# Copyright string
COPYRIGHT_STRING = "Copyright (2013-2014) R. Pito Salas, pitosalas@gmail.com"
# Course short name
COURSE_SHORT_NAME = "COSI 236B"
COURSE_LONG_NAME = "Software Engineering"
# 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"])
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("Search", "search_results", hidden: true, type: :section)
]