Sha256: 1ef1f22ab5df33e97fccebf4c08293a7df3047610193ddca94b463ec88d36d5b

Contents?: true

Size: 712 Bytes

Versions: 5

Compression:

Stored size: 712 Bytes

Contents

<% if group.length > 0 -%>
### <%= group_name %>

<% if priv -%>
#### Public <%= group_name %>

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

#### Private <%= group_name %>

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

<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
puppet-strings-2.9.0 lib/puppet-strings/markdown/templates/table_of_contents.erb
puppet-strings-2.8.0 lib/puppet-strings/markdown/templates/table_of_contents.erb
puppet-strings-2.7.0 lib/puppet-strings/markdown/templates/table_of_contents.erb
puppet-strings-2.6.0 lib/puppet-strings/markdown/templates/table_of_contents.erb
puppet-strings-2.5.0 lib/puppet-strings/markdown/templates/table_of_contents.erb