guides/source/index.html.erb in railties-3.0.1 vs guides/source/index.html.erb in railties-3.0.2
- old
+ new
@@ -1,23 +1,27 @@
<% content_for :page_title do %>
Ruby on Rails Guides
<% end %>
<% content_for :header_section do %>
-<h2>Ruby on Rails Guides</h2>
+<h2>Ruby on Rails Guides (<%= ENV['RAILS_VERSION'] || 'edge' %>)</h2>
<% if @edge %>
<p>
These are <b>Edge Guides</b>, based on the current
<a href="http://github.com/rails/rails/tree/master">master branch</a>.
</p>
<p>
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.8/">http://guides.rubyonrails.org/v2.3.8/</a>.
+</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.
</p>
@@ -154,9 +158,13 @@
<p>Rails is not "somebody else's framework." This guide covers a variety of ways that you can get involved in the ongoing development of Rails.</p>
<% end %>
<%= guide('API Documentation Guidelines', 'api_documentation_guidelines.html') do %>
<p>This guide documents the Ruby on Rails API documentation guidelines.</p>
+ <% end %>
+
+ <%= guide('Ruby on Rails Guides Guidelines', 'ruby_on_rails_guides_guidelines.html') do %>
+ <p>This guide documents the Ruby on Rails guides guidelines.</p>
<% end %>
</dl>
<h3>Release Notes</h3>