Skip to content

Commit bed0a19

Browse files
authored
Formatting: use markdown lists in 'one of' lists (#726)
* Use markdown line breaks in 'one of' lists * Move from linebreaks to bullets
1 parent d24252b commit bed0a19

File tree

3 files changed

+48
-48
lines changed

3 files changed

+48
-48
lines changed

spec/Appendix B -- Grammar Summary.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ NameContinue ::
6060
- `_`
6161

6262
Letter :: one of
63-
`A` `B` `C` `D` `E` `F` `G` `H` `I` `J` `K` `L` `M`
64-
`N` `O` `P` `Q` `R` `S` `T` `U` `V` `W` `X` `Y` `Z`
65-
`a` `b` `c` `d` `e` `f` `g` `h` `i` `j` `k` `l` `m`
66-
`n` `o` `p` `q` `r` `s` `t` `u` `v` `w` `x` `y` `z`
63+
- `A` `B` `C` `D` `E` `F` `G` `H` `I` `J` `K` `L` `M`
64+
- `N` `O` `P` `Q` `R` `S` `T` `U` `V` `W` `X` `Y` `Z`
65+
- `a` `b` `c` `d` `e` `f` `g` `h` `i` `j` `k` `l` `m`
66+
- `n` `o` `p` `q` `r` `s` `t` `u` `v` `w` `x` `y` `z`
6767

6868
Digit :: one of
69-
`0` `1` `2` `3` `4` `5` `6` `7` `8` `9`
69+
- `0` `1` `2` `3` `4` `5` `6` `7` `8` `9`
7070

7171
IntValue :: IntegerPart [lookahead != {Digit, `.`, NameStart}]
7272

@@ -314,24 +314,24 @@ DirectiveLocation :
314314
- TypeSystemDirectiveLocation
315315

316316
ExecutableDirectiveLocation : one of
317-
`QUERY`
318-
`MUTATION`
319-
`SUBSCRIPTION`
320-
`FIELD`
321-
`FRAGMENT_DEFINITION`
322-
`FRAGMENT_SPREAD`
323-
`INLINE_FRAGMENT`
324-
`VARIABLE_DEFINITION`
317+
- `QUERY`
318+
- `MUTATION`
319+
- `SUBSCRIPTION`
320+
- `FIELD`
321+
- `FRAGMENT_DEFINITION`
322+
- `FRAGMENT_SPREAD`
323+
- `INLINE_FRAGMENT`
324+
- `VARIABLE_DEFINITION`
325325

326326
TypeSystemDirectiveLocation : one of
327-
`SCHEMA`
328-
`SCALAR`
329-
`OBJECT`
330-
`FIELD_DEFINITION`
331-
`ARGUMENT_DEFINITION`
332-
`INTERFACE`
333-
`UNION`
334-
`ENUM`
335-
`ENUM_VALUE`
336-
`INPUT_OBJECT`
337-
`INPUT_FIELD_DEFINITION`
327+
- `SCHEMA`
328+
- `SCALAR`
329+
- `OBJECT`
330+
- `FIELD_DEFINITION`
331+
- `ARGUMENT_DEFINITION`
332+
- `INTERFACE`
333+
- `UNION`
334+
- `ENUM`
335+
- `ENUM_VALUE`
336+
- `INPUT_OBJECT`
337+
- `INPUT_FIELD_DEFINITION`

spec/Section 2 -- Language.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,13 @@ NameContinue ::
201201
- `_`
202202

203203
Letter :: one of
204-
`A` `B` `C` `D` `E` `F` `G` `H` `I` `J` `K` `L` `M`
205-
`N` `O` `P` `Q` `R` `S` `T` `U` `V` `W` `X` `Y` `Z`
206-
`a` `b` `c` `d` `e` `f` `g` `h` `i` `j` `k` `l` `m`
207-
`n` `o` `p` `q` `r` `s` `t` `u` `v` `w` `x` `y` `z`
204+
- `A` `B` `C` `D` `E` `F` `G` `H` `I` `J` `K` `L` `M`
205+
- `N` `O` `P` `Q` `R` `S` `T` `U` `V` `W` `X` `Y` `Z`
206+
- `a` `b` `c` `d` `e` `f` `g` `h` `i` `j` `k` `l` `m`
207+
- `n` `o` `p` `q` `r` `s` `t` `u` `v` `w` `x` `y` `z`
208208

209209
Digit :: one of
210-
`0` `1` `2` `3` `4` `5` `6` `7` `8` `9`
210+
- `0` `1` `2` `3` `4` `5` `6` `7` `8` `9`
211211

212212
GraphQL Documents are full of named things: operations, fields, arguments,
213213
types, directives, fragments, and variables. All names must follow the same

spec/Section 3 -- Type System.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,27 +1786,27 @@ DirectiveLocation :
17861786
- TypeSystemDirectiveLocation
17871787

17881788
ExecutableDirectiveLocation : one of
1789-
`QUERY`
1790-
`MUTATION`
1791-
`SUBSCRIPTION`
1792-
`FIELD`
1793-
`FRAGMENT_DEFINITION`
1794-
`FRAGMENT_SPREAD`
1795-
`INLINE_FRAGMENT`
1796-
`VARIABLE_DEFINITION`
1789+
- `QUERY`
1790+
- `MUTATION`
1791+
- `SUBSCRIPTION`
1792+
- `FIELD`
1793+
- `FRAGMENT_DEFINITION`
1794+
- `FRAGMENT_SPREAD`
1795+
- `INLINE_FRAGMENT`
1796+
- `VARIABLE_DEFINITION`
17971797

17981798
TypeSystemDirectiveLocation : one of
1799-
`SCHEMA`
1800-
`SCALAR`
1801-
`OBJECT`
1802-
`FIELD_DEFINITION`
1803-
`ARGUMENT_DEFINITION`
1804-
`INTERFACE`
1805-
`UNION`
1806-
`ENUM`
1807-
`ENUM_VALUE`
1808-
`INPUT_OBJECT`
1809-
`INPUT_FIELD_DEFINITION`
1799+
- `SCHEMA`
1800+
- `SCALAR`
1801+
- `OBJECT`
1802+
- `FIELD_DEFINITION`
1803+
- `ARGUMENT_DEFINITION`
1804+
- `INTERFACE`
1805+
- `UNION`
1806+
- `ENUM`
1807+
- `ENUM_VALUE`
1808+
- `INPUT_OBJECT`
1809+
- `INPUT_FIELD_DEFINITION`
18101810

18111811
A GraphQL schema describes directives which are used to annotate various parts
18121812
of a GraphQL document as an indicator that they should be evaluated differently

0 commit comments

Comments
 (0)