mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
f648d7d39c
See https://github.com/rails/rails-docs-server/pull/8 for reason. [ci skip]
30 lines
1,010 B
Text
30 lines
1,010 B
Text
<% content_for :page_title do %>
|
|
Ruby on Rails Guides
|
|
<% end %>
|
|
|
|
<% content_for :header_section do %>
|
|
<%= render 'welcome' %>
|
|
<% end %>
|
|
|
|
<% content_for :index_section do %>
|
|
<div id="subCol">
|
|
<dl>
|
|
<dt></dt>
|
|
<% unless @edge -%>
|
|
<dd class="kindle">Rails Guides are also available for <%= link_to 'Kindle', @mobi %>.</dd>
|
|
<% end -%>
|
|
<dd class="work-in-progress">Guides marked with this icon are currently being worked on and will not be available in the Guides Index menu. While still useful, they may contain incomplete information and even errors. You can help by reviewing them and posting your comments and corrections.</dd>
|
|
</dl>
|
|
</div>
|
|
<% end %>
|
|
|
|
<% documents_by_section.each do |section| %>
|
|
<h3><%= section['name'] %></h3>
|
|
<dl>
|
|
<% section['documents'].each do |document| %>
|
|
<%= guide(document['name'], document['url'], work_in_progress: document['work_in_progress']) do %>
|
|
<p><%= document['description'] %></p>
|
|
<% end %>
|
|
<% end %>
|
|
</dl>
|
|
<% end %>
|