1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml

15 lines
349 B
Text

<div id="home-section" class="nav-section">
<h3>Documentation</h3>
<ul>
<%- installed.each do |name, href, exists, type, _| -%>
<%- next if type == :extra -%>
<li class="folder">
<%- if exists then -%>
<a href="<%= href %>"><%= h name %></a>
<%- else -%>
<%= h name %>
<%- end -%>
<%- end -%>
</ul>
</div>