diff options
Diffstat (limited to 'lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml')
-rw-r--r-- | lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml b/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml new file mode 100644 index 0000000000..45a3048e84 --- /dev/null +++ b/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml @@ -0,0 +1,14 @@ +<nav id="home-section" class="section"> + <h3 class="section-header">Documentation</h3> + + <ul> + <% installed.each do |name, href, exists| %> + <li class="folder"> + <% if exists then %> + <a href="<%= href %>"><%= h name %></a> + <% else %> + <%= h name %> + <% end %> + <% end %> + </ul> +</nav> |