<% resources.each do |resource| %>

<%= resource['name'] %>

<% resource['examples'].each do |example| %>
<%= render partial: 'example', locals: { example: set_example(example['link'].gsub('.json', '')) } %>
<% end %>
<% end %>