[docs] update version in header/layout

This commit is contained in:
geemus 2011-05-13 16:47:44 -07:00
parent 645f7b69e1
commit cd2c781498
2 changed files with 2 additions and 1 deletions

View File

@ -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'

View File

@ -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>