Sha256: 4a4270766612814628f71f2bb5f7b157f1291a91f8edd4d054c1f2467549247c

Contents?: true

Size: 1.04 KB

Versions: 7

Compression:

Stored size: 1.04 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <%= erb(:headers) %>

    <% inline_stylesheets.each do |style| %>
      <%= erb(style) %>
    <% end %>
  </head>

  <body class="theme-<%= api_options.theme %> <%= 'onefile' if api_options.one_file %>">
    <div id="sidebar">
      <%= erb(:sidebar) %>
    </div>

    <% if options[:all_resources] %>
      <div id="content">
        <% if api_options.one_file %>
          <% visible_static_pages.each do |page| %>
            <%= diskfile page[:src] %>
          <% end %>
        <% end %>

        <% @endpoints = options[:endpoints].values.flatten %>
        <%= erb "../../topic/html/endpoints" %>

        <% options[:resources].each do |resource, controllers| %>
          <%= yieldall object: resource, controllers: controllers %>
        <% end %>
      </div>
    <% else %>
      <div id="content"><%= yieldall %></div>
    <% end %>

    <% if api_options.show_footer %>
      <%= erb(:footer) %>
    <% end %>

    <% inline_javascripts.each do |script| %>
      <%= erb(script) %>
    <% end %>
  </body>
</html>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
yard-api-1.1.2 templates/api/layout/html/layout.erb
yard-api-1.1.1 templates/api/layout/html/layout.erb
yard-api-1.1.0 templates/api/layout/html/layout.erb
yard-api-1.0.1 templates/api/layout/html/layout.erb
yard-api-1.0.0 templates/api/layout/html/layout.erb
yard-api-0.3.7 templates/api/layout/html/layout.erb
yard-api-0.3.6 templates/api/layout/html/layout.erb