diff options
author | isaacs <i@izs.me> | 2012-03-16 08:13:41 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-03-16 08:13:41 -0700 |
commit | 46376888cd2afb5d34bfdb08ba7f9d1b4c6b5d4a (patch) | |
tree | 15ec72bebd25fd34fb72f232874a5f1a57ce317f | |
parent | ec735cbce05bd5ec501ab395ae552ef8c5efb3f2 (diff) | |
download | node-46376888cd2afb5d34bfdb08ba7f9d1b4c6b5d4a.tar.gz |
Remove hard-coded version number from docs
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | doc/about/index.html | 2 | ||||
-rw-r--r-- | doc/community/index.html | 2 | ||||
-rw-r--r-- | doc/index.html | 18 | ||||
-rw-r--r-- | doc/logos/index.html | 2 | ||||
-rw-r--r-- | doc/template.html | 2 |
6 files changed, 16 insertions, 13 deletions
@@ -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 $< $@ diff --git a/doc/about/index.html b/doc/about/index.html index 038d23280..2f629072f 100644 --- a/doc/about/index.html +++ b/doc/about/index.html @@ -130,7 +130,7 @@ console.log('Server running at http://127.0.0.1:1337/');</pre> <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> diff --git a/doc/community/index.html b/doc/community/index.html index fa0bade58..c4449e0d6 100644 --- a/doc/community/index.html +++ b/doc/community/index.html @@ -180,7 +180,7 @@ <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> diff --git a/doc/index.html b/doc/index.html index f5d836955..f3cca4ecf 100644 --- a/doc/index.html +++ b/doc/index.html @@ -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> @@ -78,15 +78,15 @@ <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> @@ -211,7 +211,7 @@ server.listen(1337, '127.0.0.1');</pre> <!-- <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> diff --git a/doc/logos/index.html b/doc/logos/index.html index 78751d032..0ad186311 100644 --- a/doc/logos/index.html +++ b/doc/logos/index.html @@ -82,7 +82,7 @@ <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> diff --git a/doc/template.html b/doc/template.html index 28a216151..630d6b71b 100644 --- a/doc/template.html +++ b/doc/template.html @@ -66,7 +66,7 @@ <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> |