app/views/apitome/docs/_all_examples.html.erb in apitome-0.0.7 vs app/views/apitome/docs/_all_examples.html.erb in apitome-0.0.8
- old
+ new
@@ -1,7 +1,7 @@
<% resources.each do |resource| %>
<section class="example" id="<%= id_for(resource['name']) %>">
- <h2 class="resource-name"><%= resource['name'] %></h2>
+ <h1 class="resource-name"><%= resource['name'] %></h1>
<% resource['examples'].each do |example| %>
<article id="<%= id_for(example['link'].gsub('.json', '')) %>">
<%= render partial: 'example', locals: { example: set_example(example['link'].gsub('.json', '')) } %>
</article>
<% end %>