diff options
Diffstat (limited to 'jni/ruby/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml')
-rw-r--r-- | jni/ruby/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/jni/ruby/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml b/jni/ruby/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml new file mode 100644 index 0000000..15ff78b --- /dev/null +++ b/jni/ruby/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml @@ -0,0 +1,11 @@ +<% unless klass.sections.length == 1 then %> +<div id="sections-section" class="nav-section"> + <h3>Sections</h3> + + <ul class="link-list" role="directory"> + <% klass.sort_sections.each do |section| %> + <li><a href="#<%= section.aref %>"><%= h section.title %></a></li> + <% end %> + </ul> +</div> +<% end %> |