Sha256: 3b76f8339bf5c1db6b00017a3f19b9b7e1002d26f1662c62830da486e8b01128

Contents?: true

Size: 918 Bytes

Versions: 5

Compression:

Stored size: 918 Bytes

Contents

<div>
  <h1>
    <%= api_options['title'] %>
    <%= api_options['version'] %>
  </h1>

  <h2 class="sidebar__heading">API</h2>

  <nav id="static_pages">
    <%=
      sidebar_link(
        'index.html',
        api_options.readme_page_title,
        options[:file] == api_options['readme']
      )
    %>

    <% static_pages.each do |page| %>
      <%=
        sidebar_link(page[:filename], page[:title], object == page[:filename])
      %>
    <% end %>
  </nav>

  <h2 class="sidebar__heading">Resources</h2>

  <nav>
    <% if api_options['resource_index'] %>
      <%=
        sidebar_link(
          'all_resources.html',
          'All Resources',
          !!options[:all_resources]
        )
      %>
    <% end %>

    <% options[:resources].each do |resource, controllers| %>
      <%=
        sidebar_link(url_for(controllers[0]), resource.dup, resource == object)
      %>
    <% end %>
  </nav>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yard-api-0.3.5 templates/api/layout/html/sidebar.erb
yard-api-0.3.4 templates/api/layout/html/sidebar.erb
yard-api-0.3.3 templates/api/layout/html/sidebar.erb
yard-api-0.3.2 templates/api/layout/html/sidebar.erb
yard-api-0.3.1 templates/api/layout/html/sidebar.erb