Skip to content

Commit 28f3c6f

Browse files
committed
method sidebar markup
1 parent cca0218 commit 28f3c6f

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<footer role="contentinfo">
22
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> <%= RDoc::VERSION %>. <a href="https://validator.w3.org/check/referer">Validate</a>
3-
<p><a href="http://rorvswild.com/theme">RoRvsWild template</a> by <a href="http://deveiate.org">Antoine Marguerie</a>.
3+
<p><a href="http://rorvswild.com/theme">RoRvsWild template</a> by <b>Antoine Marguerie</b>.
44
</footer>
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
<div class="nav-section">
2-
<% if (class_methods = klass.class_method_list.sort).any? %>
1+
<% if (class_methods = klass.class_method_list.sort).any? %>
2+
<div class="nav-section">
33
<h3>Class Methods</h3>
44
<ul class="link-list" role="directory">
55
<%- class_methods.each do |meth| -%>
66
<li <%- if meth.calls_super %>class="calls-super" <%- end %>><a href="#<%= meth.aref %>"><%= h "::#{meth.name}" -%></a>
77
<%- end -%>
88
</ul>
9-
<% end %>
9+
</div>
10+
<% end %>
1011

11-
<% if (instance_methods = klass.instance_method_list.sort).any? %>
12+
<% if (instance_methods = klass.instance_method_list.sort).any? %>
13+
<div class="nav-section">
1214
<h3>Instance Methods</h3>
1315
<ul class="link-list" role="directory">
1416
<%- klass.instance_method_list.sort.each do |meth| -%>
1517
<li <%- if meth.calls_super %>class="calls-super" <%- end %>><a href="#<%= meth.aref %>"><%= h "##{meth.name}" -%></a>
1618
<%- end -%>
1719
</ul>
18-
<% end %>
19-
</div>
20+
</div>
21+
<% end %>

0 commit comments

Comments
 (0)