Skip to content
README.md 1.3 KiB
Newer Older
Greg Wilson's avatar
Greg Wilson committed
lesson-example
==============

Documentation on the lesson template formatted according to the template's own rules.
Greg Wilson's avatar
Greg Wilson committed
The layout of this repository is explained in [this site's episodes][rendered].
In brief:
1.  The source for pages that appear as direct items in the navigation bar
    are stored in the root directory.
2.  Source files for lesson episodes are stored in `_episodes`
    so that we can make use of [Jekyll collections][collections];
    `_episodes/01-xyz.md` generates `/01-xyz/index.html`,
    which can be linked to using `/01-xyz/`.
3.  Files that appear under the "extras" menu pulldown are stored in `_extras`.
4.  Figures and other files are stored in the `files` directory,
    while data sets are stored in `data`
    and source code for examples in `code`.
Greg Wilson's avatar
Greg Wilson committed
1.  Run `bin/initialize` to create files that can't be stored in the template repository,
    then edit `_config.yml` as described in the episode on organization.
Greg Wilson's avatar
Greg Wilson committed
2.  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][issues].

[collections]: https://jekyllrb.com/docs/collections/
[issues]: https://github.com/gvwilson/new-lesson-example/issues/
[rendered]: https://gvwilson.github.io/new-lesson-example/