Sha256: d9e71f7a59f69fc82d3ec750c29700558e509cb6cc85e31be9757fcee99dcb57

Contents?: true

Size: 615 Bytes

Versions: 3

Compression:

Stored size: 615 Bytes

Contents

<ul>
  <% @libraries.sort_by {|name, y| name.downcase }.each do |name, library_versions| %>
  <li class="r<%= @row = @row == 1 ? 2 : 1 %>">
    <% library_versions = library_versions.dup %>
    <% first_lib = library_versions.pop %>
    <a href="<%= abs_url(router.docs_prefix, first_lib.name) %>"><%= name %></a>
    <% if first_lib.version %>
      <small>(<%= first_lib.version %><% if library_versions.size > 0 %>,
        <%= library_versions.reverse.map {|lib| "<a href=\"#{abs_url(router.docs_prefix, lib.to_s)}\">#{lib.version}</a>" }.join(', ') %><% end %>)</small>
    <% end %>
  </li>
  <% end %>
</ul>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yard-0.9.5 lib/yard/server/templates/doc_server/library_list/html/listing.erb
yard-0.9.4 lib/yard/server/templates/doc_server/library_list/html/listing.erb
yard-0.9.3 lib/yard/server/templates/doc_server/library_list/html/listing.erb