<% @toplevels.each do |tl| %>
<% target = root_path + rdocize_toplevel(tl) %>
<% if tl.name.end_with?(".rdoc") %>
- <%= tl.name %>
<% else %>
<%# Usually you don’t want to see the code files %>
- <%= tl.name %>
<% end %>
<% end %>
- Show all
<%= yield %>