Sha256: ba41a3f0b91b6cb8f70b0d74cdb19a9a6e68e25056aa4c2a9ab1c86dec685575
Contents?: true
Size: 557 Bytes
Versions: 62
Compression:
Stored size: 557 Bytes
Contents
# frozen_string_literal: true include T('default/layout/html') def init super @topfile = options.readme if options.files if @topfile @toptitle = @topfile.attributes[:title] || "Documentation Overview" end @page_title = @file == options.readme ? options.title : @file.title index = options.files.index(@file) if index @prevfile = index > 0 ? (options.files[index - 1] || options.readme) : nil @nextfile = options.files[index + 1] end end end def diskfile options.including_object = @object super end
Version data entries
62 entries across 61 versions & 9 rubygems