lib/kitabu/source_list.rb
# List of directories that should be skipped.
#
List of directories that should be skipped.
List of directories that should be skipped .
def chapter_files(entry)
      if File.file?(entry)
        [entry]
      else
        Dir["#{entry}/**/*.{#{EXTENSIONS.join(',')}}"].sort
      end
    end
def chapter_files ( entry ) if File . file? ( entry ) [ entry ] else Dir [ "#{entry}/**/*.{#{EXTENSIONS.join(',')}}" ] . sort end end
List of directories that should be skipped.
List of directories that should be skipped .
# Chapters can be files outside a directory.
entry