Skip to content

Commit

Permalink
[docs] update version in header/layout
Browse files Browse the repository at this point in the history
  • Loading branch information
geemus committed May 13, 2011
1 parent 645f7b6 commit cd2c781
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Rakefile
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Expand Up @@ -33,7 +33,7 @@
<a href="/"><img src="/public/images/fog.png" title="fog" /></a>
<h1>{{ page.title }}</h1>
<dl>
<dt>version</dt><dd>v0.7.2</dd>
<dt>version</dt><dd>vX.Y.Z</dd>
<dt>install</dt><dd><code>gem install fog</code></dd>
<dt>source</dt><dd><a href="http://github.com/geemus/fog">geemus/fog</a></dd>
</dl>
Expand Down

0 comments on commit cd2c781

Please sign in to comment.