Sha256: 47ed8f7fd48754d15e38128e91430286e7bff5a14fe591c57202990257f7abda

Contents?: true

Size: 750 Bytes

Versions: 5

Compression:

Stored size: 750 Bytes

Contents

<% fields.each do |field| %>

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

5 entries across 5 versions & 1 rubygems

Version Path
graphql-docs-1.2.0 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.1.0 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.0.2 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.0.1 lib/graphql-docs/layouts/includes/fields.html
graphql-docs-1.0.0 lib/graphql-docs/layouts/includes/fields.html