This repository has been archived by the owner on Apr 14, 2020. It is now read-only.
/
index.html
80 lines (72 loc) · 1.55 KB
/
index.html
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
70
71
72
73
74
75
76
77
78
79
80
<html>
<head>
<title>{{ title }}</title>
<meta charset="utf-8">
<link href="static/prism.css" rel="stylesheet" />
<script src="static/prism.js"></script>
<style>
body {
font-family: helvetica, sans-serif;
}
a, a:visited, h1 {
color: darkred;
}
a:hover {
color: white;
background: darkred;
}
td.docs {
min-width: 200px;
vertical-align: top;
width: 100%;
padding: 1em;
overflow-x: hidden;
vertical-align: top;
text-align: left;
}
td.docs p {
margin: 8px 0px;
}
td.docs tt, td.docs code {
background: #F5F2F0;
}
td.code {
vertical-align: top;
width: 100%;
vertical-align: top;
background: #F5F2F0;
}
menu {
border-bottom: 2px solid wheat;
padding: 3px;
}
menu .dirname {
font-family: Monospace;
font-size: 1.1em;
}
menu a {
margin-left: 0.5em;
}
</style>
</head>
<body>
<h1><tt>{{ title }}</tt></h1>
<menu>
{% for dir in menu %}
<span class="dirname" style="padding-left: {{ dir.indent * 1.5 }}em;">{{ dir.dirname }}</span>
{% for file in dir.files %}
<a href="{{ file.outFileRelative }}" {% if file.source === title %}style="font-weight: bold;"{% endif %}>{{ file.sourceFilename }}</a>
{% endfor %}
<br/>
{% endfor %}
</menu>
<table cellpadding="0" cellspacing="0">
{% for d in docs %}
<tr>
<td class="docs">{{ d.description.full }}</td>
<td class="code"><pre><code class="language-javascript">{{ d.code }}</code></pre></td>
</tr>
{% endfor %}
</table>
</body>
</html>