Skip to contents

This will enforce four global lists:

Usage

set_globals(path)

Arguments

path

the path to the lesson

Details

  1. .resources, which is equivalent to the output of get_source_list()

  2. this_metadata, which contains the metadata common for the lesson

  3. learner_globals the navigation items for the learners

  4. instructor_globals the namvigation items for the instructors

The things that are added:

  • sidebar This is generated from create_sidebar() and is the same in the learner and instructor globals with the exception of the first element.

  • more This is the "More" dorpdown menu, which is created via create_resources_dropdown().

  • resources The same as "More", but positioned on the mobile sidebar.

  • {sandpaper,varnish,pegboard}_version package versions of each package.