Sha256: 824cf64cb77067dd9d5f0e87c2c3ea059a8191c3c877c37f344c8cb415040b7e

Contents?: true

Size: 981 Bytes

Versions: 9

Compression:

Stored size: 981 Bytes

Contents

<% unless @objects_by_letter.empty? %>
<h2><%= @title %></h2>

  <% i = 0 %>
<table>
  <tr>
    <td valign='top' width="33%">
  <% @objects_by_letter.sort_by {|l,o| l.to_s }.each do |letter, objects| %>
    <% if (i += 1) % 8 == 0 %>
    </td>
    <td valign='top' width="33%">
      <% i = 0 %>
    <% end %>
      <ul id="alpha_<%= letter %>" class="alpha">
        <li class="letter"><%= letter %></li>
          <ul>
    <% objects.each do |obj| %>
            <li>
      <%= linkify obj, obj.name %>
      <% if (obj.type == :module || obj.type == :class) && !obj.namespace.root? %>
              <small>(<%= obj.namespace.path %>)</small>
      <% elsif obj.type == :puppet_provider %>
              <small>(Resource type: <%= obj.type_name %>)</small>
      <% elsif obj.type == :puppet_function %>
              <small>(<%= obj.function_type %>)</small>
      <% end %>
            </li>
    <% end %>
      </ul>
    </ul>
  <% end %>
    </td>
  </tr>
</table>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
puppet-strings-2.2.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-2.1.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-2.0.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-1.2.1 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-1.2.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-1.1.1 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-1.1.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-1.0.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-0.99.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb