diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-25 20:42:20 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-25 20:45:27 +0530 |
commit | 68564eb2a1f704fe9fe5101df6c88f738124fed7 (patch) | |
tree | b75e2c62da169ac675ebde485848eabc6c46308a /railties/guides/source | |
parent | 7a3121b0f234b9a2e82f0a1239ec38c8d33d126c (diff) | |
download | rails-68564eb2a1f704fe9fe5101df6c88f738124fed7.tar.gz rails-68564eb2a1f704fe9fe5101df6c88f738124fed7.tar.bz2 rails-68564eb2a1f704fe9fe5101df6c88f738124fed7.zip |
Some fixes in rails guides generation
* Passing edge information to the views fixes the lack of the edge badge
and sets the appropriate welcome page on edgeguides.rubyonrails.org.
* Changes in the welcome message to hyper link the rails tree based on
the version.
* Mention the Amazon url from where kindlegen can be downloaded.
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/_welcome.html.erb | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/railties/guides/source/_welcome.html.erb b/railties/guides/source/_welcome.html.erb index a5ceeee5f2..e5373ebca0 100644 --- a/railties/guides/source/_welcome.html.erb +++ b/railties/guides/source/_welcome.html.erb @@ -1,21 +1,19 @@ -<h2>Ruby on Rails Guides (<%= @version %>)</h2> +<h2>Ruby on Rails Guides</h2> <% if @edge %> <p> - These are <b>Edge Guides</b>, based on the current - <a href="https://github.com/rails/rails/tree/master">master branch</a>. + These are <b>Edge Guides</b>, based on the current <a href="https://github.com/rails/rails/tree/<%= @version %>">master</a> branch. </p> <p> - If you are looking for the ones for the stable version please check + If you are looking for the ones for the stable version, please check <a href="http://guides.rubyonrails.org">http://guides.rubyonrails.org</a> instead. </p> <% else %> <p> - These are the new guides for Rails 3. The guides for Rails 2.3 are still available - at <a href="http://guides.rubyonrails.org/v2.3.11/">http://guides.rubyonrails.org/v2.3.11/</a>. + These are the new guides for Rails 3.1 based on <a href="https://github.com/rails/rails/tree/<%= @version %>"><%= @version %></a>. + These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces fit together. </p> <% end %> <p> - These guides are designed to make you immediately productive with Rails, - and to help you understand how all of the pieces fit together. + The guides for Rails 2.3.x are available at <a href="http://guides.rubyonrails.org/v2.3.11/">http://guides.rubyonrails.org/v2.3.11/</a>. </p> |