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