Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove hard-coded version number from docs
  • Loading branch information
isaacs committed Mar 16, 2012
1 parent ec735cb commit 4637688
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -124,6 +124,9 @@ $(apidoc_dirs):
out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets/
cp $< $@

out/doc/%.html: doc/%.html
cat $< | sed -e 's|__VERSION__|'$(VERSION)'|g' > $@

out/doc/%: doc/%
cp -r $< $@

Expand Down
2 changes: 1 addition & 1 deletion doc/about/index.html
Expand Up @@ -130,7 +130,7 @@ <h1>Node's goal is to provide an easy way to build scalable
<li><a href="http://twitter.com/nodejs" class="twitter">@nodejs</a></li>
</ul>

<p>Copyright <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.7.6/LICENSE">license</a>.</p>
<p>Copyright <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>
</div>


Expand Down
2 changes: 1 addition & 1 deletion doc/community/index.html
Expand Up @@ -180,7 +180,7 @@ <h2 class="irc">IRC</h2>
<li><a href="http://twitter.com/nodejs" class="twitter">@nodejs</a></li>
</ul>

<p>Copyright <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.7.6/LICENSE">license</a>.</p>
<p>Copyright <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>
</div>

<script>
Expand Down
18 changes: 9 additions & 9 deletions doc/index.html
Expand Up @@ -31,7 +31,7 @@

<a href="#download" class="button" id="downloadbutton">Download</a>
<a href="http://nodejs.org/api/index.html" class="button" id="docsbutton">Docs</a>
<p class="version">v0.7.6</p>
<p class="version">__VERSION__</p>
</div>
<div id="quotes" class="clearfix">
<h2>Node.js in the Industry</h2>
Expand Down Expand Up @@ -78,15 +78,15 @@ <h2>Node.js in the Industry</h2>
<a href="#" id="download-close">X</a>
<img id="download-logo" src="http://nodejs.org/images/download-logo.png" alt="node.js">
<ul id="installers" class="clearfix">
<li><a href="http://nodejs.org/dist/v0.7.6/node-v0.7.6.msi">Windows Installer</a><br>node-v0.7.6.msi</li>
<li><a href="http://nodejs.org/dist/v0.7.6/node-v0.7.6.pkg">Macintosh Installer</a><br>node-v0.7.6.pkg</li>
<li id="source"><a href="http://nodejs.org/dist/v0.7.6/node-v0.7.6.tar.gz">Source Code</a><br>node-v0.7.6.tar.gz</li>
<li><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.msi">Windows Installer</a><br>node-__VERSION__.msi</li>
<li><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.pkg">Macintosh Installer</a><br>node-__VERSION__.pkg</li>
<li id="source"><a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.tar.gz">Source Code</a><br>node-__VERSION__.tar.gz</li>
</ul>
<ul id="documentation">
<li><a href="https://raw.github.com/joyent/node/v0.7.6/ChangeLog">Change Log</a></li>
<li><a href="http://nodejs.org/docs/v0.7.6/api/index.html">Documentation</a></li>
<li><a href="http://nodejs.org/dist/v0.7.6">Other release files</a></li>
<li><a href="https://raw.github.com/joyent/node/v0.7.6/LICENSE">License</a></li>
<li><a href="https://raw.github.com/joyent/node/__VERSION__/ChangeLog">Change Log</a></li>
<li><a href="http://nodejs.org/docs/__VERSION__/api/index.html">Documentation</a></li>
<li><a href="http://nodejs.org/dist/__VERSION__">Other release files</a></li>
<li><a href="https://raw.github.com/joyent/node/__VERSION__/LICENSE">License</a></li>
<li><a href="https://github.com/joyent/node">Git Repository</a></li>
<li><a href="https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager">Installing
with a Package Manager</a>
Expand Down Expand Up @@ -211,7 +211,7 @@ <h2>Explore Node.js</h2>
<!-- <li><a hrfe="http://twitter.com/nodejs" class="twitter">@nodejs</a></li> -->
</ul>

<p>Copyright <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.7.6/LICENSE">license</a>.</p>
<p>Copyright <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>
</div>


Expand Down
2 changes: 1 addition & 1 deletion doc/logos/index.html
Expand Up @@ -82,7 +82,7 @@ <h2>Desktop Background</h2>
<li><a href="http://twitter.com/nodejs" class="twitter">@nodejs</a></li>
</ul>

<p>Copyright <a href="http://joyent.com">Joyent, Inc</a>., Node.js is a <a href="/trademark-policy.pdf">trademark of Joyent, Inc</a>., <a href="https://raw.github.com/joyent/node/v0.7.6/LICENSE">View License</a></p>
<p>Copyright <a href="http://joyent.com">Joyent, Inc</a>., Node.js is a <a href="/trademark-policy.pdf">trademark of Joyent, Inc</a>., <a href="https://raw.github.com/joyent/node/__VERSION__/LICENSE">View License</a></p>
</div>

<script>
Expand Down
2 changes: 1 addition & 1 deletion doc/template.html
Expand Up @@ -66,7 +66,7 @@ <h2>Table of Contents</h2>
<li><a href="http://twitter.com/nodejs" class="twitter">@nodejs</a></li>
</ul>

<p>Copyright 2010-2012 <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>
<p>Copyright <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>
</div>

<script src="../sh_main.js"></script>
Expand Down

0 comments on commit 4637688

Please sign in to comment.