summaryrefslogtreecommitdiff
path: root/jni/ruby/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'jni/ruby/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml')
-rw-r--r--jni/ruby/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml15
1 files changed, 15 insertions, 0 deletions
diff --git a/jni/ruby/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml b/jni/ruby/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml
new file mode 100644
index 0000000..1285bfd
--- /dev/null
+++ b/jni/ruby/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml
@@ -0,0 +1,15 @@
+<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>