lib/META-INF/html/_spec-tree.pug
mixin printNode(obj)
if obj && obj.type === 'file'
li
a.featurebook-spec-tree-file(href= pathPrefix + obj.path + '.html', class= obj.path === path ? 'active' : null)= obj.displayName
else if obj && obj.type === 'directory'
li
a.featurebook-spec-tree-directory(href= pathPrefix + obj.path + '/index.html', class= obj.path === path ? 'active' : null)= obj.displayName
ul
each child in obj.children
+printNode(child)
aside.featurebook-spec-tree
ul
each child in specTree.children
+printNode(child)