Sha256: ae1e98240959b0ac44d30239ed7ef86743be18935cac82d209e387eef88831e7

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

#!/usr/bin/env ruby

require 'awspec'

Aws.config[:stub_responses] = true

types = Awspec::Helper::Type::TYPES
types.delete('base')

links = types.map do |type|
  '[' + type + '](#' + type + ')'
end
header = <<-'EOF'
# Resource Types

<%= links.join("\n| ") %>

EOF
puts ERB.new(header, nil, '-').result(binding)

types.map do |type|
  puts eval "Awspec::Generator::Doc::#{type.to_camel_case}.new.generate_doc"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
awspec-0.6.1 lib/awspec/docgen.rb
awspec-0.6.0 lib/awspec/docgen.rb