<% connections.each do |connection| %>

<div class="field-entry <%= classes[:field_entry] %>">
  <span id="<%= slugify.(connection[:name]) %>" class="field-name connection-name anchored"><%= connection[:name] %> (<code><a href="<%= base_url %>/<%= connection[:type][:path] %>"><%= connection[:type][:info] %></a></code>)</span>

  <div class="description-wrapper">
    <%= include.('notices.html', notices: connection[:notices]) %>
    <p><%= connection[:description] %></p>

    <% unless connection[:arguments].empty? %>
      <%= include.('arguments.html', arguments: connection[:arguments]) %>
    <% end %>
  </div>
</div>

<% end %>

<% connections.each do |connection| %>

<div class="field-entry <%= classes[:field_entry] %>">
  <span id="<%= slugify.(connection[:name]) %>" class="field-name connection-name anchored"><%= connection[:name] %> (<code><a href="<%= base_url %>/<%= connection[:type][:path] %>"><%= connection[:type][:info] %></a></code>)</span>

  <div class="description-wrapper">
    <% if connection[:is_deprecated] %>
      <div class="deprecation-notice <%= classes[:deprecation_notice] %>">
        <span class="deprecation-title">Deprecation notice</span>
        <%= markdownify.(connection[:deprecation_reason]) %>
      </div>
    <% end %>

    <%= include.('notices.html', notices: connection[:notices]) %>

    <p><%= connection[:description] %></p>

    <% unless connection[:arguments].empty? %>
      <%= include.('arguments.html', arguments: connection[:arguments]) %>
    <% end %>
  </div>
</div>

<% end %>

Add deprecation clause to connection include
Add deprecation clause to connection include
