Sha256: a02099414ff0077ada227f76aa7132e39e9bf13f2408e610b1282fe60b9f3296

Contents?: true

Size: 653 Bytes

Versions: 8

Compression:

Stored size: 653 Bytes

Contents

<% unless items.empty? -%>
### <%= group_name %>
<% if has_public -%>
<% if has_private # only display public heading if we have both -%>

#### Public <%= group_name %>
<% end -%>

<% items.each do |item| -%>
<% unless item[:private] -%>
* [`<%= item[:name] %>`](#<%= item[:link] %>)<% unless item[:desc].nil? || item[:desc].empty? %>: <%= item[:desc] %><% end %>
<% end -%>
<% end -%>
<% end -%>
<% if has_private -%>

#### Private <%= group_name %>

<% items.each do |item| -%>
<% if item[:private] -%>
* `<%= item[:name] %>`<% unless item[:desc].nil? || item[:desc].empty? %>: <%= item[:desc] %><% end %>
<% end -%>
<% end -%>
<% end -%>

<% end -%>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
puppet-strings-4.1.3 lib/puppet-strings/markdown/templates/table_of_contents.erb
puppet-strings-4.1.2 lib/puppet-strings/markdown/templates/table_of_contents.erb
puppet-strings-4.1.1 lib/puppet-strings/markdown/templates/table_of_contents.erb
puppet-strings-4.1.0 lib/puppet-strings/markdown/templates/table_of_contents.erb
puppet-strings-4.0.0 lib/puppet-strings/markdown/templates/table_of_contents.erb
puppet-strings-4.0.0.rc.1 lib/puppet-strings/markdown/templates/table_of_contents.erb
puppet-strings-3.0.1 lib/puppet-strings/markdown/templates/table_of_contents.erb
puppet-strings-3.0.0 lib/puppet-strings/markdown/templates/table_of_contents.erb