Sha256: 95bf6c4713e570cfe10fb6ff732b748ec1d4d8c7613276199baa64b3199b2b0f

Contents?: true

Size: 715 Bytes

Versions: 2

Compression:

Stored size: 715 Bytes

Contents

<% fields.each do |field| %>

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

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

  <%= markdownify.(field[:description]) %>

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

  </div>
</div>

<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphql-docs-1.0.0.pre5 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.0.0.pre4 lib/graphql-docs/layouts/includes/fields.html