lib/nanoc/base/compilation/compiler.rb
# Load the helper data that is used for compiling the site.
#
# @api private
#
# @return [void]
Load the helper data that is used for compiling the site.
Load the helper data that is used for compiling the site .
def load
      return if @loaded || @loading
      @loading = true
      site.load
      rules_collection.load
      preprocess
      site.setup_child_parent_links
      build_reps
      route_reps
      stores.each { |s| s.load }
      @loaded = true
    rescue => e
      unload
      raise e
    ensure
      @loading = false
    end
def load return if @loaded || @loading @loading = true site . load rules_collection . load preprocess site . setup_child_parent_links build_reps route_reps stores . each { | s | s . load } @loaded = true rescue => e unload raise e ensure @loading = false end
Load the helper data that is used for compiling the site.
Load the helper data that is used for compiling the site .
# Load site if necessary # Preprocess # Load auxiliary stores
None
void
api
None