-
Notifications
You must be signed in to change notification settings - Fork 3
/
_config.yml
executable file
·180 lines (162 loc) · 4.98 KB
/
_config.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
#------------------------------------------------------------
# Values for this lesson.
#------------------------------------------------------------
# markdown: redcarpet-pygments
# Which carpentry is this ("swc", "dc", "lc", or "cp")?
# swc: Software Carpentry
# dc: Data Carpentry
# lc: Library Carpentry
# cp: Carpentries (to use for instructor traning for instance)
carpentry: "swc"
# Overall title for pages.
title: "COMP125 Lecture Notes"
#------------------------------------------------------------
# Generic settings (should not need to change).
#------------------------------------------------------------
# What kind of thing is this ("workshop" or "lesson")?
kind: "lesson"
# Magic to make URLs resolve both locally and on GitHub.
# See https://help.github.com/articles/repository-metadata-on-github-pages/.
# Please don't change it: <USERNAME>/<PROJECT> is correct.
repository: <USERNAME>/<PROJECT>
# Email address, no mailto:
email: "gaurav.gupta@mq.edu.au"
# Sites.
amy_site: "https://amy.software-carpentry.org/workshops"
carpentries_github: "https://github.com/carpentries"
carpentries_pages: "https://carpentries.github.io"
carpentries_site: "https://carpentries.org/"
dc_site: "http://datacarpentry.org"
example_repo: "https://github.com/carpentries/lesson-example"
example_site: "https://carpentries.github.io/lesson-example"
lc_site: "https://librarycarpentry.github.io/"
swc_github: "https://github.com/swcarpentry"
swc_pages: "https://swcarpentry.github.io"
swc_site: "https://software-carpentry.org"
template_repo: "https://github.com/carpentries/styles"
training_site: "https://carpentries.github.io/instructor-training"
workshop_repo: "https://github.com/carpentries/workshop-template"
workshop_site: "https://carpentries.github.io/workshop-template"
# Surveys.
pre_survey: "https://www.surveymonkey.com/r/swc_pre_workshop_v1?workshop_id="
post_survey: "https://www.surveymonkey.com/r/swc_post_workshop_v1?workshop_id="
training_post_survey: "https://www.surveymonkey.com/r/post-instructor-training"
# Start time in minutes (0 to be clock-independent, 540 to show a start at 09:00 am).
start_time: 0
collections_dir: _collections
# Specify that things in the episodes collection should be output.
collections:
episodes:
output: true
permalink: /:collection/:path
extras:
output: true
permalink: /:collection/:path
01-introduction:
output: true
permalink: /:collection/:path
02-static-debugging-unit-testing:
output: true
permalink: /:collection/:path
03-classes-and-objects:
output: true
permalink: /:collection/:path
04-recursion:
output: true
permalink: /:collection/:path
05-searching:
output: true
permalink: /:collection/:path
06-lists:
output: true
permalink: /:collection/:path
# Set the default layout for things in the episodes collection.
defaults:
- values:
root: .
layout: page
- scope:
path: ""
type: episodes
values:
root: ..
layout: episode
- scope:
path: ""
type: extras
values:
root: ..
layout: page
- scope:
path: ""
type: 01-introduction
values:
root: ..
layout: episode
- scope:
path: ""
type: 02-static-debugging-unit-testing
values:
root: ..
layout: episode
- scope:
path: ""
type: 03-classes-and-objects
values:
root: ..
layout: episode
- scope:
path: ""
type: 04-recursion
values:
root: ..
layout: episode
- scope:
path: ""
type: 05-searching
values:
root: ..
layout: episode
- scope:
path: ""
type: 06-lists
values:
root: ..
layout: episode
- scope:
path: "_collections/*/99-aio.md"
values:
collection_all_in_one: true
# Files and directories that are not to be copied.
exclude:
- Makefile
- bin/
- .Rproj.user/
- makeNavigationList.py
- portingToMarkdown/
- workshops/
- archive/
- workHours.csv
- imageMagick.md
# !github-pages! mandatory › https://help.github.com/articles/using-jekyll-with-pages/#configuration-settings-you-cannot-change
# Since Jekyll 3 the default highlighter is Rouge (replaced Pygments.rb in v44)
# Turn on built-in syntax highlighting.
highlighter: rouge
markdown: kramdown
# More › http://kramdown.gettalong.org/quickref.html
# Options › http://kramdown.gettalong.org/options.html
kramdown:
input: GFM
# https://github.com/jekyll/jekyll/pull/4090
syntax_highlighter: rouge
# Rouge Highlighter in Kramdown › http://kramdown.gettalong.org/syntax_highlighter/rouge.html
# span, block element options fall back to global
syntax_highlighter_opts:
# Rouge Options › https://github.com/jneen/rouge#full-options
css_class: 'highlight'
#line_numbers: true # bad idea, spans don't need linenos and would inherit this option
span:
line_numbers: false
block:
line_numbers: true
start_line: 1