From: isaacs
Date: Fri, 16 Mar 2012 15:13:41 +0000 (-0700)
Subject: Remove hard-coded version number from docs
X-Git-Tag: v0.7.7~73
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46376888cd2afb5d34bfdb08ba7f9d1b4c6b5d4a;p=platform%2Fupstream%2Fnodejs.git
Remove hard-coded version number from docs
---
diff --git a/Makefile b/Makefile
index 977414e..deb542d 100644
--- a/Makefile
+++ b/Makefile
@@ -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 038d232..2f62907 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/');
Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.
+Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.
diff --git a/doc/community/index.html b/doc/community/index.html index fa0bade..c4449e0 100644 --- a/doc/community/index.html +++ b/doc/community/index.html @@ -180,7 +180,7 @@Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.
+Copyright Joyent, Inc, Node.js is a trademark of Joyent, Inc. View license.