forked from thedersen/backbone.validation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docco.jst
69 lines (67 loc) · 1.98 KB
/
docco.jst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<title><%= title %></title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" media="all" href="<%= css %>" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-12325477-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div id="container">
<div id="background"></div>
<% if (sources.length > 1) { %>
<div id="jump_to">
Jump To …
<div id="jump_wrapper">
<div id="jump_page">
<% for (var i=0, l=sources.length; i<l; i++) { %>
<% var source = sources[i]; %>
<a class="source" href="<%= path.basename(destination(source)) %>">
<%= path.basename(source) %>
</a>
<% } %>
</div>
</div>
</div>
<% } %>
<table cellpadding="0" cellspacing="0">
<thead>
<tr>
<th class="docs">
<h1>
<%= title %>
</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="pilwrap">
<a class="pilcrow" href="#section-<%= i + 1 %>">¶</a>
</div>
<%= section.docsHtml %>
</td>
<td class="code">
<%= section.codeHtml %>
</td>
</tr>
<% } %>
</tbody>
</table>
</div>
</body>
</html>