Sha256: 1dddeb56c18a0d2b6ac0693dbbf254031467f78758b27886855f1d7dfea0ec5d
Contents?: true
Size: 1.97 KB
Versions: 3
Compression:
Stored size: 1.97 KB
Contents
<ul class='breadcrumb'> <li> <a href='<%= @doc[:doc_url] %><%= @doc[:link_extension] %>'><%= @doc[:name] %> <%= @resource[:version] %></a> <span class='divider'>/</span> </li> <li class='active'> <%= @resource[:name] %> <% if @resource[:version] %><% end %> </li> <%= render(:partial => "languages", :locals => {:doc_url => @resource[:doc_url]}) %> </ul> <div class='page-header'> <h1> <%= @resource[:name] %> <br> <small><%= raw @resource[:short_description] %></small> </h1> </div> <% unless @resource[:full_description].blank? %> <div><%= raw @resource[:full_description] %></div> <% end %> <% unless @resource[:metadata].blank? %> <h2>Metadata</h2> <%= render(:partial => "metadata", :locals => {:meta => @resource[:metadata]}) %> <% end %> <% unless @resource[:formats].blank? %> <h2>Supported Formats</h2> <%= @resource[:formats].join(', ') %> <% end %> <div class='accordion' id='accordion'> <% @resource[:methods].each do |m| %> <hr> <div class='pull-right small'> <a href='<%= m[:doc_url] %><%= @doc[:link_extension] %>'> >>> </a> </div> <div> <% m[:apis].each do |api| %> <h2> <a href='#description-<%= m[:name] %>' class='accordion-toggle' data-toggle='collapse' data-parent='#accordion'> <%= api[:http_method] %> <%= api[:api_url] %> </a><br> <small><%= raw api[:short_description] %></small> </h2> <% end %> </div> <% unless m[:see].empty? %> Also see <%= m[:see].map { |s| link_to(s[:description], "#{s[:link]}#{@doc[:link_extension]}") }.to_sentence.html_safe %>. <% end %> <div id='description-<%= m[:name] %>' class='collapse accordion-body'> <%= render(:partial => "method_detail", :locals => {:method => m, :h_level => 3}) %> </div> <% end %> </div> <% unless content_for(:apipie_footer) == @doc[:copyright] %> <%= content_for :apipie_footer, raw(@doc[:copyright]) %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
apipie-rails-0.2.2 | app/views/apipie/apipies/resource.html.erb |
apipie-rails-0.2.1 | app/views/apipie/apipies/resource.html.erb |
apipie-rails-0.2.0 | app/views/apipie/apipies/resource.html.erb |