Gather components used in a course when publishing - this
will be used to decide which version of a component to point
to when building