X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=vendor%2Frails%2Frailties%2Fdoc%2Fguides%2Fsource%2Ftemplates%2Fguides.html.erb;fp=vendor%2Frails%2Frailties%2Fdoc%2Fguides%2Fsource%2Ftemplates%2Fguides.html.erb;h=d69cf5e08a2a7042473450f779ef27b1df8264fe;hb=d115f2e23823271635bad69229a42cd8ac68debe;hp=0000000000000000000000000000000000000000;hpb=37cb670bf3ddde90b214e591f100ed4446469484;p=depot.git diff --git a/vendor/rails/railties/doc/guides/source/templates/guides.html.erb b/vendor/rails/railties/doc/guides/source/templates/guides.html.erb new file mode 100644 index 0000000..d69cf5e --- /dev/null +++ b/vendor/rails/railties/doc/guides/source/templates/guides.html.erb @@ -0,0 +1,97 @@ +<%- + manuals_index_url = ENV['MANUALSONRAILS_INDEX_URL'] || "index.html" + show_toc = ENV['MANUALSONRAILS_TOC'] != 'no' +-%> + + + + + <%- if multi_page? && !is_preamble? -%><%=h current_chapter.plain_title %> :: <% end %><%=h title %> + + + + + + + + + +
class="notoc"<% end %>> + <% if show_toc %> + + <% end %> +
+ <%- if multi_page? && !is_preamble? -%> +

<%= current_chapter.title %>

+ <%- else -%> +

<%=h title %>

+ <%- end -%> + <%= contents %> + <%- if multi_page? -%> +
+ <%- if prev_chapter -%> + + <%- end -%> + <%- if next_chapter -%> + + <%- end -%> +
+ <%- end -%> +
+
+ +