forked from meteor/meteor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs.html
More file actions
101 lines (89 loc) · 2.64 KB
/
docs.html
File metadata and controls
101 lines (89 loc) · 2.64 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<head>
<title>Documentation - Meteor</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="Description"
content="Meteor is an open-source JavaScript platform for building top-quality web apps in a fraction of the time, whether you're an expert developer or just getting started."/>
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
<div id="nav" class="hide">
{{> nav }}
</div>
<div id="main">
<div id="top"></div>
{{> headline }}
{{> introduction }}
{{> concepts }}
{{> api }}
{{> packages }}
{{> commandline }}
</div>
</body>
<template name="nav">
<div id="menu-ico"><a href="#">☰</a></div>
<div id="nav-inner">
{{#each sections}}
{{#if type "spacer"}}
<div class="spacer"> </div>
{{/if}}
{{#if type "section"}}
{{#nav_section}}
<a href="#{{id}}" class="{{maybe_current}} {{style}}">
{{#if prefix}}{{prefix}}.{{/if}}{{#if instance}}<i>{{instance}}</i>.{{/if}}{{name}}
</a>
{{/nav_section}}
{{/if}}
{{/each}}
</div>
</template>
<template name="nav_section">
{{#if depthIs 1}}
<h1>{{> UI.contentBlock}}</h1>
{{/if}}
{{#if depthIs 2}}
<h2>{{> UI.contentBlock}}</h2>
{{/if}}
{{#if depthIs 3}}
<h3>{{> UI.contentBlock}}</h3>
{{/if}}
{{#if depthIs 4}}
<h4>{{> UI.contentBlock}}</h4>
{{/if}}
{{#if depthIs 5}}
<h5>{{> UI.contentBlock}}</h5>
{{/if}}
{{#if depthIs 6}}
<h6>{{> UI.contentBlock}}</h6>
{{/if}}
</template>
<!-- This only is displayed on narrow displays (eg phone) -->
<template name="headline">
<h1 class="main-headline">Meteor {{release}}</h1>
</template>
<template name="dtdd">
{{! can be used with either one argument (which ends up in the data
context, or with both name and type }}
{{#if name}}
<dt><span class="name">{{{name}}}</span>
{{#if type}}<span class="type">{{type}}</span>{{/if}}
</dt>
{{else}}
<dt><span class="name">{{{.}}}</span></dt>
{{/if}}
<dd>{{#markdown}}{{> UI.contentBlock}}{{/markdown}}</dd>
</template>
<!-- this is used within {{#markdown}}. <div> must be unindented.
http://daringfireball.net/projects/markdown/syntax#html -->
<template name="warning">
<div class="warning">
{{#markdown}}{{> UI.contentBlock}}{{/markdown}}
</div>
</template>
<!-- this is used within {{#markdown}}. <div> must be unindented.
http://daringfireball.net/projects/markdown/syntax#html -->
<template name="note">
<div class="note">
{{#markdown}}{{> UI.contentBlock}}{{/markdown}}
</div>
</template>