templates/api/layout/html/layout.erb in yard-api-0.3.0 vs templates/api/layout/html/layout.erb in yard-api-0.3.1
- old
+ new
@@ -19,9 +19,12 @@
<% 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 %>