Sha256: feaff48d804415ce4f15102552db2e0513448d722053dc5d3f000bb5ae018d2e

Contents?: true

Size: 502 Bytes

Versions: 38

Compression:

Stored size: 502 Bytes

Contents

include T('default/layout/html')

def init
  super

  @topfile = options.readme
  @toptitle = options.readme.attributes[:title] || "Documentation Overview"
  if @file == options.readme
    @page_title = options.title
  else
    @page_title = @file.title
  end

  index = options.files.index(@file)
  if index
    @prevfile = index > 0 ? (options.files[index - 1] || options.readme) : nil
    @nextfile = options.files[index + 1]
  end
end

def diskfile
  options.including_object = @object
  super
end

Version data entries

38 entries across 28 versions & 3 rubygems

Version Path
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.5.2/templates/guide/layout/html/setup.rb
challah-1.0.0.beta2 vendor/bundle/gems/yard-0.8.5.2/templates/guide/layout/html/setup.rb
challah-1.0.0.beta vendor/bundle/gems/yard-0.8.3/templates/guide/layout/html/setup.rb
challah-1.0.0.beta vendor/bundle/gems/yard-0.8.5.2/templates/guide/layout/html/setup.rb
yard-0.8.5.2 templates/guide/layout/html/setup.rb
yard-0.8.5.1 templates/guide/layout/html/setup.rb
yard-0.8.5 templates/guide/layout/html/setup.rb
challah-0.9.1.beta.3 vendor/bundle/gems/yard-0.8.3/templates/guide/layout/html/setup.rb
yard-0.8.4.1 templates/guide/layout/html/setup.rb
yard-0.8.4 templates/guide/layout/html/setup.rb
challah-0.9.1.beta vendor/bundle/gems/yard-0.8.3/templates/guide/layout/html/setup.rb
challah-0.9.0 vendor/bundle/gems/yard-0.8.3/templates/guide/layout/html/setup.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/yard-0.8.3/templates/guide/layout/html/setup.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/yard-0.8.2.1/templates/guide/layout/html/setup.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/yard-0.8.2.1/templates/guide/layout/html/setup.rb
challah-rolls-0.2.0 vendor/bundle/gems/yard-0.8.2.1/templates/guide/layout/html/setup.rb
challah-rolls-0.2.0 vendor/bundle/gems/yard-0.8.3/templates/guide/layout/html/setup.rb
challah-0.8.3 vendor/bundle/gems/yard-0.8.3/templates/guide/layout/html/setup.rb
challah-0.8.3 vendor/bundle/gems/yard-0.8.2.1/templates/guide/layout/html/setup.rb
yard-0.8.3 templates/guide/layout/html/setup.rb