-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.html
46 lines (41 loc) · 2.09 KB
/
template.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
<!DOCTYPE html>
<html>
<head>
<title>Beam.js Documentation Browser</title>
<!--<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen, projection">-->
<!--<link rel="stylesheet" href="/css/print.css" type="text/css" media="print">-->
<!--[>[if lt IE 8]><link rel="stylesheet" href="/css/ie.css" type="text/css" media="screen, projection"><![endif]<]-->
<link href='http://fonts.googleapis.com/css?family=Vollkorn' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="/css/fonts.css" type="text/css" media="screen">
<link rel="stylesheet" href="/css/main.css" type="text/css" media="screen">
<script type="text/javascript" src="/js/code_highlighter.js"></script>
<script type="text/javascript" src="/js/javascript.js"></script>
<script type="text/javascript" src="/js/breadcrumbs.js"></script>
</head>
<body onload="Breadcrumbs('breadcrumbs');">
<header>
<h1><a href="/">Beam.js</a></h1>
</header>
<div class="content-wrapper">
<section class="content">
<h2><em>${ this.obj, typeOf }</em> <span id="breadcrumbs">${ this.key }</span></h2>
${ this.doc, showdown }
<hr />
$(MAPHASH (topic, obj => this.topics)
<h3 id="${ topic }"><em>${ obj, typeOf }</em> <a href="${ this.path }${ topic }">${ topic }</a></h3>
$(IF (obj.__doc__ != undefined)
${ obj.__doc__, showdown }
$(ELSE)
${ "*undocumented*", showdown }
$)
<hr />
$)
<footer>
Powered by <a href="https://github.com/beamjs/beamjs_doc_browser">Beam.js Documentation Browser</a> <em>Beam.js ${ this.version } </em>
</footer>
</section>
</div>
</body>
</html>