<% if (hasTitle) { %> <% var section = sections.shift(); %> <%= section.docsHtml %> <% if (!(/^\s*$/).test(section.codeText)) { %> <%= section.codeHtml %> <% } %> <% } else { %>
<%= title %>
<% } %> <% if (sources.length > 1) { %>
Table of Contents
<% for (var i=0, l = sources.length; i < l; i++) { %> <% var source = sources[i]; %>
<%= path.basename(source) %>
<% } %>
<% } %>
<% for (var i = 0, l = sections.length; i
<% var section = sections[i]; %> <%= section.docsHtml %> <% if (!(/^\s*$/).test(section.codeText)) { %> <%= section.codeHtml %> <% } %> <% } %>
h