Skip to content

Commit 8cd13eb

Browse files
committed
Update template to use new token style
Conflicts: doc/template.html
1 parent ffcdcc7 commit 8cd13eb

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

doc/template.html

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>{{section}}Node.js v0.6.11 Manual &amp; Documentation</title>
5+
<title>__SECTION__ Node.js __VERSION__ Manual &amp; Documentation</title>
66
<link rel="stylesheet" href="assets/style.css">
77
<link rel="stylesheet" href="assets/sh.css">
8-
<link rel="canonical" href="http://nodejs.org/docs/latest/api/{{filename}}.html">
8+
<link rel="canonical" href="http://nodejs.org/api/__FILENAME__.html">
99
</head>
10-
<body class="alt apidoc">
10+
<body class="alt apidoc" id="api-section-__FILENAME__">
1111
<div id="intro" class="interior">
1212
<a href="/" title="Go back to the home page">
1313
<img id="logo" src="http://nodejs.org/images/logo-light.png" alt="node.js">
@@ -30,14 +30,22 @@
3030
</div>
3131

3232
<div id="column1" class="interior">
33-
<header>
34-
<h1>Node.js v0.6.11 Manual &amp; Documentation</h1>
35-
<div id="gtoc">
36-
<p><a href="index.html" name="toc">Index</a> | <a href="all.html">View on single page</a></p>
33+
<header>
34+
<h1>Node.js __VERSION__ Manual &amp; Documentation</h1>
35+
<div id="gtoc">
36+
<p><a href="index.html" name="toc">Index</a> | <a href="all.html">View on single page</a></p>
37+
</div>
38+
<hr>
39+
</header>
40+
41+
<div id="toc">
42+
<h2>Table of Contents</h2>
43+
__TOC__
44+
</div>
45+
46+
<div id="apicontent">
47+
__CONTENT__
3748
</div>
38-
<hr>
39-
</header>
40-
{{content}}
4149
</div>
4250
</div>
4351
<div id="footer">
@@ -54,9 +62,9 @@ <h1>Node.js v0.6.11 Manual &amp; Documentation</h1>
5462
<li><a href="http://twitter.com/nodejs" class="twitter">@nodejs</a></li>
5563
</ul>
5664

57-
<p>Copyright 2010 <a href="http://joyent.com">Joyent, Inc</a>, Node.js is a <a href="/trademark-policy.pdf">trademark</a> of Joyent, Inc. View <a href="https://raw.github.com/joyent/node/v0.6.11/LICENSE">license</a>.</p>
65+
<p>Copyright 2010 <a href="http://joyent.com">Joyent, Inc</a>, Node.js is a <a href="/trademark-policy.pdf">trademark</a> of Joyent, Inc. View <a href="https://raw.github.com/joyent/node/__VERSION__/LICENSE">license</a>.</p>
5866
</div>
59-
67+
6068
<script src="assets/sh_main.js"></script>
6169
<script src="assets/sh_javascript.min.js"></script>
6270
<script>highlight(undefined, undefined, 'pre');</script>

0 commit comments

Comments
 (0)