lesson-example
This repository shows how to create a lesson using the [Software Carpentry lesson template][swc-lesson-template], and is itself an example of the use of that template.
-
Do not fork this repository directly on GitHub. Instead, please follow the instructions in the setup instructions to create a repository for your lesson from the template repository.
-
Once you have created the repository, please go through the episodes to format your lesson.
-
Please keep the master copy of your lesson in your repository's
gh-pages
branch, since that is what is automatically published as a website by GitHub.
Layout
The layout of this repository is explained in this site's episodes. In brief:
-
The source for pages that appear as direct items in the navigation bar are stored in the root directory.
-
Source files for lesson episodes are stored in
_episodes
so that we can make use of Jekyll collections;_episodes/01-xyz.md
generates/01-xyz/index.html
, which can be linked to using/01-xyz/
. -
Files that appear under the "extras" menu pulldown are stored in
_extras
. -
Figures and other files are stored in the
files
directory, while data sets are stored indata
and source code for examples incode
.
Getting Started
-
Run
bin/lesson_initialize.py
to create files that can't be stored in the template repository (because they would cause repeated merge conflicts), then edit_config.yml
as described in the documentation. -
For a list of helpful commands run
make
in this directory. If you are looking for things to work on, please see the list of issues for this repository.