single.file.jst

#
<!DOCTYPE html>

<html>
<head>
  <title><%= filename %></title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <link rel="stylesheet" media="all" href="<%= (rootDir ? rootDir : ".") + "/docco.css" %>" />
</head>
<body>
<div id="container">
  <table cellspacing="0" cellpadding="0">
    <thead>
    <tr>
      <th class="docs">
        <% if(rootDir) { %>
        <h1><a href="<%= rootDir %>/index.html" title="Back to index">&larr;</a>&nbsp;&nbsp;<%= filename %></h1>
        <% } else { %>
        <h1><%= filename %></h1>
        <% } %>
      </th>
      <th class="code"></th>
    </tr>
    </thead>
    <tbody>
    <% for (var i=0, l=sections.length; i<l; i++) { %>
    <% var section = sections[i]; %>
    <tr id="section-<%= i + 1 %>">
      <td class="docs">
        <div class="octowrap">
          <a class="octothorpe" href="#section-<%= i + 1 %>">#</a>
        </div>
      <%= section.docHtml %>
      </td>
      <td class="code">
      <%= section.codeHtml %>
      </td>
    </tr>
    <% } %>
  </table>
</div>
</body>
</html>