Sha256: ec3710344deaebd3f80a756f3b755db671be46db8f090060288c1583f8b75cfb

Contents?: true

Size: 427 Bytes

Versions: 31

Compression:

Stored size: 427 Bytes

Contents

class Brief::Apps::Blueprint::Outline
  include Brief::Model

  defined_in Pathname(__FILE__)

  meta do
    type
    title
    tags Array
  end

  content do
    headings "h1,h2,h3,h4,h5,h6"
    settings "code.yaml:first-of-type", :serialize => :yaml, :hide => true

    nested_links "li a"

    items "ul > li"
    nested_items "ul > li li"
  end

  helpers do
    def link_elements
      document.css('a')
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
brief-1.17.14 apps/blueprint/models/outline.rb
brief-1.17.13 apps/blueprint/models/outline.rb
brief-1.17.12 apps/blueprint/models/outline.rb
brief-1.17.11 apps/blueprint/models/outline.rb
brief-1.17.10 apps/blueprint/models/outline.rb
brief-1.17.9 apps/blueprint/models/outline.rb
brief-1.17.8 apps/blueprint/models/outline.rb
brief-1.17.7 apps/blueprint/models/outline.rb
brief-1.17.5 apps/blueprint/models/outline.rb
brief-1.17.4 apps/blueprint/models/outline.rb
brief-1.17.3 apps/blueprint/models/outline.rb
brief-1.17.2 apps/blueprint/models/outline.rb
brief-1.17.1 apps/blueprint/models/outline.rb
brief-1.17.0 apps/blueprint/models/outline.rb
brief-1.16.2 apps/blueprint/models/outline.rb
brief-1.16.1 apps/blueprint/models/outline.rb
brief-1.16.0 apps/blueprint/models/outline.rb
brief-1.15.5 apps/blueprint/models/outline.rb
brief-1.15.4 apps/blueprint/models/outline.rb
brief-1.15.3 apps/blueprint/models/outline.rb