templates/default/fulldoc/markdown/setup.rb in yard-markdown-0.2.1 vs templates/default/fulldoc/markdown/setup.rb in yard-markdown-0.2.2

- old
+ new

@@ -106,28 +106,26 @@ <% end %> <% unless object.root? %> | **Defined in:** | <%= object.file ? object.file : "(unknown)" %> | <% end %> - <%= object.docstring %> - <% if constant_listing.size > 0 %> <% groups(constant_listing, "Constants") do |list, name| %> # <%= name %> <% list.each do |cnst| %> - ## <%= cnst.name %> = [](#<%=aref(cnst)%>) + ## <%= cnst.name %> [](#<%=aref(cnst)%>) <%= cnst.docstring %> + <% end %> <% end %> - <% end %> <% if (insmeths = public_instance_methods(object)).size > 0 %> # Public Instance Methods <% insmeths.each do |item| %> - ## <%= item.name(false) %>(<%= item.parameters.map {|p| p.join(" ") }.join(", ")%>) [](#<%=aref(item)%>) + ## <%= item.name(false) %>(<%= item.parameters.map {|p| p.join("") }.join(", ")%>) [](#<%=aref(item)%>) <%= item.docstring %> <% end %> <% end %>