handle_toc_entry

in jekyll/plugins/recently_updated_generator.rb [54:61]


  def handle_toc_entry(toc_by_path, toc_by_id, entry)
    toc_by_id[entry[:id]] = entry
    toc_by_path[entry[:path]] = entry if entry.key?(:path)
    if entry.key?(:pages) then
      entry[:pages].each { |p| handle_toc_entry(toc_by_path, toc_by_id, p) }
    end
  end