mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[docs] update version in header/layout
This commit is contained in:
parent
645f7b69e1
commit
cd2c781498
2 changed files with 2 additions and 1 deletions
1
Rakefile
1
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'
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue