Commit d6c1509b authored by Alex Kalderimis's avatar Alex Kalderimis

Capitalize section headings

parent 8ff1e9cc
...@@ -16,14 +16,14 @@ module Gitlab ...@@ -16,14 +16,14 @@ module Gitlab
CONNECTION_ARGS = %w[after before first last].to_set CONNECTION_ARGS = %w[after before first last].to_set
FIELD_HEADER = <<~MD FIELD_HEADER = <<~MD
#### fields #### Fields
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
MD MD
ARG_HEADER = <<~MD ARG_HEADER = <<~MD
# arguments # Arguments
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
...@@ -201,7 +201,7 @@ module Gitlab ...@@ -201,7 +201,7 @@ module Gitlab
end end
<<~MD.chomp <<~MD.chomp
#{header_prefix}#### fields with arguments #{header_prefix}#### Fields with arguments
#{join(:block, sections)} #{join(:block, sections)}
MD MD
......
...@@ -83,7 +83,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do ...@@ -83,7 +83,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do
expectation = <<~DOC expectation = <<~DOC
### `ArrayTest` ### `ArrayTest`
#### fields #### Fields
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
...@@ -102,7 +102,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do ...@@ -102,7 +102,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do
Returns [`ArrayTest`](#arraytest). Returns [`ArrayTest`](#arraytest).
#### arguments #### Arguments
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
...@@ -138,7 +138,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do ...@@ -138,7 +138,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do
expectation = <<~DOC expectation = <<~DOC
### `OrderingTest` ### `OrderingTest`
#### fields #### Fields
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
...@@ -186,14 +186,14 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do ...@@ -186,14 +186,14 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do
A thing we used to use, but no longer support. A thing we used to use, but no longer support.
#### fields #### Fields
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
| <a id="deprecatedtestbar"></a>`bar` **{warning-solid}** | [`String!`](#string) | **Deprecated** in 1.10. This was renamed. Use: [`Query.boom`](#queryboom). | | <a id="deprecatedtestbar"></a>`bar` **{warning-solid}** | [`String!`](#string) | **Deprecated** in 1.10. This was renamed. Use: [`Query.boom`](#queryboom). |
| <a id="deprecatedtestfoo"></a>`foo` **{warning-solid}** | [`String!`](#string) | **Deprecated** in 1.10. This is deprecated. | | <a id="deprecatedtestfoo"></a>`foo` **{warning-solid}** | [`String!`](#string) | **Deprecated** in 1.10. This is deprecated. |
#### fields with arguments #### Fields with arguments
##### `DeprecatedTest.fooWithArgs` ##### `DeprecatedTest.fooWithArgs`
...@@ -206,7 +206,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do ...@@ -206,7 +206,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do
Returns [`String!`](#string). Returns [`String!`](#string).
###### arguments ###### Arguments
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
...@@ -300,7 +300,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do ...@@ -300,7 +300,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do
A test for rendering IDs. A test for rendering IDs.
#### fields #### Fields
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
...@@ -359,14 +359,14 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do ...@@ -359,14 +359,14 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do
Input type: `MakeItPrettyInput`. Input type: `MakeItPrettyInput`.
#### arguments #### Arguments
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
| <a id="mutationmakeitprettyclientmutationid"></a>`clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | | <a id="mutationmakeitprettyclientmutationid"></a>`clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. |
| <a id="mutationmakeitprettyprettinessfactor"></a>`prettinessFactor` | [`Float!`](#float) | How much prettier?. | | <a id="mutationmakeitprettyprettinessfactor"></a>`prettinessFactor` | [`Float!`](#float) | How much prettier?. |
#### fields #### Fields
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
...@@ -405,7 +405,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do ...@@ -405,7 +405,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do
A time-frame defined as a closed inclusive range of two dates. A time-frame defined as a closed inclusive range of two dates.
#### arguments #### Arguments
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
...@@ -458,7 +458,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do ...@@ -458,7 +458,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do
A test for abstract types. A test for abstract types.
#### fields #### Fields
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
...@@ -486,7 +486,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do ...@@ -486,7 +486,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do
- [`AfricanSwallow`](#africanswallow) - [`AfricanSwallow`](#africanswallow)
##### fields ##### Fields
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
...@@ -498,7 +498,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do ...@@ -498,7 +498,7 @@ RSpec.describe Gitlab::Graphql::Docs::Renderer do
A swallow from Africa. A swallow from Africa.
#### fields #### Fields
| Name | Type | Description | | Name | Type | Description |
| ---- | ---- | ----------- | | ---- | ---- | ----------- |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment