At it's core a learning experience can be thought of as a guided set of activities a student takes to eventually get certified on a defined topic.
In git4ol
we translate that experience to git
commits and refs and the same way that git
commits are the main building blocks of a git
repository activities are the main building blocks of a git4ol
lesson.
Activity assets are located in directories according to this naming scheme:
-
Step assets are located in directories of the format
refs/{lesson}@{version}/step/{n}
wherelesson
is the name of the lessonversion
is a valid semvern
is a positive number indicating the step number
-
Challenge assets are located in directories of the format
refs/{lesson}@{version}/challenge/{challenge}
wherelesson
is the name of the lessonversion
is a valid semverchallenge
is the name of the challenge
Activity title and instructions serialized in the same way as Jekyll content.
---
id:
title: Our first markdown file
notes:
type: ide
files:
- README.md
---
[Markdown](http://daringfireball.net/projects/markdown/) is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format
Let's start by adding a `README.md` file with some mock content.
Some of the front matter properties are reserved for git4ol
:
id
-sha1
(internal) : The activity ID based on thegit
committitle
-string
(required) : The activity titlenotes
-markdown
(optional) : The activity notes