Sha256: 0e3f449f1a3af766cc259e8ecbd59fa1aadcf0b6428ef79617350f21215fc7c5

Contents?: true

Size: 1.05 KB

Versions: 16

Compression:

Stored size: 1.05 KB

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>
      <% elsif obj.type == :puppet_data_type_alias %>
              <small>(Alias)</small>
      <% end %>
            </li>
    <% end %>
      </ul>
    </ul>
  <% end %>
    </td>
  </tr>
</table>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
puppet-strings-4.1.3 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-4.1.2 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-4.1.1 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-4.1.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-4.0.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-4.0.0.rc.1 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-3.0.1 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-3.0.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-2.9.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-2.8.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-2.7.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-2.6.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-2.5.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-2.4.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-2.3.1 lib/puppet-strings/yard/templates/default/layout/html/objects.erb
puppet-strings-2.3.0 lib/puppet-strings/yard/templates/default/layout/html/objects.erb