Sha256: 8c797f5ce1e6ad64af173ef62a3cfbef7b6bd7c68009bf80b9069ac066d69617

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 Bytes

Contents

<article>
  <%= htmlify(@docstring) %>
</article>

<% c = options[:controllers].detect { |c| c.has_tag?(:note) } %>
<% c && c.tags(:note).each do |tag| %>
  <blockquote class="note">
    <p><strong>Note</strong></p>
    <%= htmlify tag.text %>
  </blockquote>
<% end %>

<section>
  <h2>Interfaces</h2>

  <ul id="quicklinks"></ul>
</section>

<% @json_objects.each do |name, json| %>
  <% properties = render_properties(json) %>
  <div class='object_definition'>
    <h3>
      <a name="<%= name %>"></a><%= name %> object synopsis:
    </h3>
    <pre class="example code"><%= html_syntax_highlight(properties ? properties : json, :plain) %></pre>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yard-api-0.2.3 templates/api/topic/html/topic_doc.erb