Sha256: a0168ed2c1f80f78c933a76b4f8c617ecd804b9abe8ae9a1c4eb7a70f9975957

Contents?: true

Size: 820 Bytes

Versions: 11

Compression:

Stored size: 820 Bytes

Contents

<% fields.each do |field| %>

<div class="field-entry <%= classes[:field_entry] %>">
  <span id="<%= slugify.(field[:name]) %>" class="field-name anchored"><%= 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 %>

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

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

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

  </div>
</div>

<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
graphql-docs-1.7.1 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.7.0 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.6.1 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.6.0 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.5.0 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.4.1 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.4.0 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.3.5 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.3.4 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.3.3 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.3.2 lib/graphql-docs/layouts/includes/fields.html