vendor/bundle/ruby/2.3.0/gems/jekyll-3.3.1/lib/jekyll/collection.rb
# Read the allowed documents into the collection's array of docs.
#
# Returns the sorted array of docs.
Read the allowed documents into the collection's array of docs.
Returns the sorted array of docs.
Read the allowed documents into the collection ' s array of docs . Returns the sorted array of docs .
def read
      filtered_entries.each do |file_path|
        full_path = collection_dir(file_path)
        next if File.directory?(full_path)
        if Utils.has_yaml_header? full_path
          read_document(full_path)
        else
          read_static_file(file_path, full_path)
        end
      end
      docs.sort!
    end
def read filtered_entries . each do | file_path | full_path = collection_dir ( file_path ) next if File . directory? ( full_path ) if Utils . has_yaml_header? full_path read_document ( full_path ) else read_static_file ( file_path , full_path ) end end docs . sort! end
Read the allowed documents into the collection's array of docs.
Read the allowed documents into the collection ' s array of docs .