Permalink
Browse files

Fix doc outline generator.

  • Loading branch information...
1 parent 5838295 commit d5e953ab1e8d9d5345ca1808cac782587725bc53 @slembcke committed Oct 3, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc-src/MakeDocs.rb
View
@@ -19,7 +19,7 @@ def initialize(title, anchor, parent)
def outline(level)
children = ""
if level == 1
- children = "<ul>#{@children.map{|child| child.outline(level + 1).join}}</ul>"
+ children = "<ul>#{@children.map{|child| child.outline(level + 1)}.join}</ul>"
end
["<li><a href=\"##{anchor}\">#{@title}</a>#{children}</li>"]

0 comments on commit d5e953a

Please sign in to comment.