%= erb(:headers) %>
<% inline_stylesheets.each do |style| %>
<%= erb(style) %>
<% end %>
<% if options[:all_resources] %>
<% if api_options.one_file %>
<% static_pages.each do |page| %>
<%= diskfile page[:src] %>
<% end %>
<% end %>
<% options[:resources].each do |resource, controllers| %>
<%= yieldall object: resource, controllers: controllers %>
<% end %>
<% else %>
<%= yieldall %>
<% end %>
<% if api_options.show_footer %>
<%= erb(:footer) %>
<% end %>
<% inline_javascripts.each do |script| %>
<%= erb(script) %>
<% end %>