Sha256: 559158ea8e9a589dc029be35fd7766784e9c440adc19beeeecc3dbd04c39a4cc

Contents?: true

Size: 182 Bytes

Versions: 2

Compression:

Stored size: 182 Bytes

Contents

def init
  puts "> LAYOUT"
  # puts options[:object]

  if options[:controllers]
    sections :layout, [T('topic'), T('appendix')]
  else
    sections :layout, [:contents]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yard-api-0.2.2 templates/api/layout/json/setup.rb
yard-api-0.2.1 templates/api/layout/json/setup.rb