graphql-docs 1.7.1 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/graphql-docs/layouts/includes/connections.html +4 -1
- data/lib/graphql-docs/layouts/includes/deprecations.html +6 -0
- data/lib/graphql-docs/layouts/includes/fields.html +6 -12
- data/lib/graphql-docs/layouts/includes/values.html +3 -8
- data/lib/graphql-docs/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 664552097194b2af829edfabafa819abd4ce8d82e9c170d6345e3c8dd91028b3
|
|
4
|
+
data.tar.gz: 74187b8b707df6c49a4645c26784fde7b0b92c8664b2223a3c093f83ac80a160
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c531188f4244965dae3d0b8561a19813a1e17e75a50d50b4d5635dac9f0f8883772104f713c004aec888d50f757cd53798004a03ef9dbc3f70569323e38174b
|
|
7
|
+
data.tar.gz: abfead7c929a259f12abadb2952e31363767f089c5cc6bafd33a19adab0f9be376c5e86a8f5e20a82532b38a5aff6b14736ec64c5527a78a94c8a87876c13e51
|
|
@@ -4,8 +4,11 @@
|
|
|
4
4
|
<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>
|
|
5
5
|
|
|
6
6
|
<div class="description-wrapper">
|
|
7
|
+
<%= include.('deprecations.html', item: connection) %>
|
|
8
|
+
|
|
7
9
|
<%= include.('notices.html', notices: connection[:notices]) %>
|
|
8
|
-
|
|
10
|
+
|
|
11
|
+
<%= markdownify.(connection[:description]) %>
|
|
9
12
|
|
|
10
13
|
<% unless connection[:arguments].empty? %>
|
|
11
14
|
<%= include.('arguments.html', arguments: connection[:arguments]) %>
|
|
@@ -4,21 +4,15 @@
|
|
|
4
4
|
<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>
|
|
5
5
|
|
|
6
6
|
<div class="description-wrapper">
|
|
7
|
-
|
|
8
|
-
<div class="deprecation-notice <%= classes[:deprecation_notice] %>">
|
|
9
|
-
<span class="deprecation-title">Deprecation notice</span>
|
|
10
|
-
<%= markdownify.(field[:deprecation_reason]) %>
|
|
11
|
-
</div>
|
|
12
|
-
<% end %>
|
|
7
|
+
<%= include.('deprecations.html', item: field) %>
|
|
13
8
|
|
|
14
|
-
|
|
9
|
+
<%= include.('notices.html', notices: field[:notices]) %>
|
|
15
10
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<% unless field[:arguments].empty? %>
|
|
19
|
-
<%= include.('arguments.html', arguments: field[:arguments]) %>
|
|
20
|
-
<% end %>
|
|
11
|
+
<%= markdownify.(field[:description]) %>
|
|
21
12
|
|
|
13
|
+
<% unless field[:arguments].empty? %>
|
|
14
|
+
<%= include.('arguments.html', arguments: field[:arguments]) %>
|
|
15
|
+
<% end %>
|
|
22
16
|
</div>
|
|
23
17
|
</div>
|
|
24
18
|
|
|
@@ -5,16 +5,11 @@
|
|
|
5
5
|
<h4 id="<%= slugify.(value[:name]) %>" class="name anchored"><%= value[:name] %></h4>
|
|
6
6
|
|
|
7
7
|
<div class="description-wrapper">
|
|
8
|
-
<%= include.('
|
|
8
|
+
<%= include.('deprecations.html', item: value) %>
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
<div class="deprecation-notice <%= classes[:deprecation_notice] %>">
|
|
12
|
-
<span class="deprecation-title">Deprecation notice</span>
|
|
13
|
-
<%= markdownify.(value[:deprecation_reason]) %>
|
|
14
|
-
</div>
|
|
15
|
-
<% end %>
|
|
10
|
+
<%= include.('notices.html', notices: value[:notices]) %>
|
|
16
11
|
|
|
17
|
-
|
|
12
|
+
<%= markdownify.(value[:description]) %>
|
|
18
13
|
</div>
|
|
19
14
|
|
|
20
15
|
<% end %>
|
data/lib/graphql-docs/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphql-docs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Garen Torikian
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-03-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: graphql
|
|
@@ -306,6 +306,7 @@ files:
|
|
|
306
306
|
- lib/graphql-docs/layouts/graphql_unions.html
|
|
307
307
|
- lib/graphql-docs/layouts/includes/arguments.html
|
|
308
308
|
- lib/graphql-docs/layouts/includes/connections.html
|
|
309
|
+
- lib/graphql-docs/layouts/includes/deprecations.html
|
|
309
310
|
- lib/graphql-docs/layouts/includes/fields.html
|
|
310
311
|
- lib/graphql-docs/layouts/includes/input_fields.html
|
|
311
312
|
- lib/graphql-docs/layouts/includes/notices.html
|