Skip to content

Commit 9e39903

Browse files
Merge pull request #24 from tobyhodges/remove_custom_permalinks
make lesson suitable for teaching with locally-built (serverless) pages
2 parents b7e323f + 12663eb commit 9e39903

File tree

5 files changed

+5
-13
lines changed

5 files changed

+5
-13
lines changed

_extras/discuss.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
2-
layout: page
32
title: Discussion
4-
permalink: /discuss/
53
---
64

75
There are many ways to discuss Library Carpentry lessons:

_extras/guide.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
2-
layout: page
3-
title: "Instructor Notes"
4-
permalink: /guide/
2+
title: Instructor Notes
53
---
64

75
____
@@ -10,7 +8,7 @@ ____
108
____
119
## Making a handout
1210

13-
Librarians like handouts. To make a handout for this lesson, adapt/print from [https://librarycarpentry.org/lc-data-intro-archives/reference/](https://librarycarpentry.org/lc-data-intro-archives/reference/).
11+
Librarians like handouts. To make a handout for this lesson, adapt/print from [the lesson reference page]({{page.root}}/reference.html).
1412

1513
____
1614
## 02-jargon-busting.md
@@ -35,7 +33,7 @@ _____
3533
## 04-regular-expressions.md 05-quiz.md 06-quiz-answers.md
3634

3735
You may find it useful to use slides to work through episode four (see below for potential slides). Before starting the exercise, encourage learners to work with pen and paper, explain that with regex there are sometimes multiple answers to the same question (that is, some regex is perfect and some does the job given the likely data structures we use) and point them towards places to test their regex: for example regex101 [https://regex101.com/](https://regex101.com/), rexegper [http://regexper.com/](http://regexper.com/), myregexp [http://myregexp.com/]([http://myregexp.com/]), or whichever service you prefer. Also point them towards the quiz (episode five and six) as something they may move onto if they they finish the exercises early or look at after the workshop.
38-
36+
3937
____
4038
# General notes on Data Intro
4139

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
layout: lesson
33
root: .
4+
permalink: index.html
45
---
56
This Library Carpentry lesson introduces archivists to working with data. At the conclusion of the lesson you will: be able to explain terms, phrases, and concepts in code or software development; identify and use best practice in data structures; use regular expressions in searches.
67

78
> ## Prerequisites
89
>
910
> This lesson has no prerequisites. Ideally you will need a laptop and an internet connection, though this is not required.
1011
{: .prereq}
11-

reference.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
2-
layout: reference
32
title: Reference
4-
permalink: /reference/
53
---
64

75
# Regular Expressions Cheat Sheet
@@ -14,7 +12,7 @@ permalink: /reference/
1412
- `\s` matches any space, tab, or newline
1513
- `^` asserts the position at the start of the line. So what you put after it will only match if they are the first characters of a line.
1614
- `$` asserts the position at the end of the line. So what you put before it will only match if they are the last characters of a line.
17-
- `\b` adds a word boundary. Putting this either side of a stops the regular expression matching longer variants of words.
15+
- `\b` adds a word boundary. Putting this either side of a stops the regular expression matching longer variants of words.
1816
- `*` matches the preceding element zero or more times. For example, `ab*c` matches "ac", "abc", "abbbc", etc.
1917
- `+` matches the preceding element one or more times. For example, `ab+c` matches "abc", "abbbc" but not "ac".
2018
- `?` matches when the preceding character appears one or zero times

setup.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
2-
layout: page
32
title: Setup
4-
permalink: /setup/
53
---
64
1. Installation instructions for core lessons are included in the [workshop template's home page][template],
75
so that they are all in one place.

0 commit comments

Comments
 (0)