Sha256: 008416b8fc5ef826b0a26468f34abd745c69927cb6947d54fd7c7b494e214e3b
Contents?: true
Size: 582 Bytes
Versions: 2
Compression:
Stored size: 582 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yard-0.9.18 | templates/guide/layout/html/setup.rb |
yard-0.9.17 | templates/guide/layout/html/setup.rb |