From cd2c7814986ccdb735534fb8d62f9e60bfc1e439 Mon Sep 17 00:00:00 2001 From: geemus Date: Fri, 13 May 2011 16:47:44 -0700 Subject: [PATCH] [docs] update version in header/layout --- Rakefile | 1 + docs/_layouts/default.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index a3f42bdc3..e39e0648e 100644 --- a/Rakefile +++ b/Rakefile @@ -189,6 +189,7 @@ task :docs do if File.extname(file_name) == '.html' # rewrite links with version body = File.read(file_path) + body.gsub!(/vX.Y.Z/, 'v' << version) body.gsub!(/='\//, %{='/} << version << '/') body.gsub!(/="\//, %{="/} << version << '/') content_type = 'text/html' diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index f4704e271..4b6a31a7c 100755 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -33,7 +33,7 @@

{{ page.title }}

-
version
v0.7.2
+
version
vX.Y.Z
install
gem install fog
source
geemus/fog