Skip to content

Commit 1c0c378

Browse files
committed
Make docs link to scalars consistent with other types
1 parent 2efc5be commit 1c0c378

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/type-definitions/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ graphql-php represents a **type** as a class instance from the `GraphQL\Type\Def
44
- [`InterfaceType`](interfaces.md)
55
- [`UnionType`](unions.md)
66
- [`InputObjectType`](inputs.md)
7-
- [`ScalarType`](scalar-types.md)
7+
- [`ScalarType`](scalars.md)
88
- [`EnumType`](enums.md)
99

1010
# Input vs. Output Types
1111
All types in GraphQL are of two categories: **input** and **output**.
1212

13-
* **Output** types (or field types) are: [Scalar](scalar-types.md), [Enum](enums.md), [Object](object-types.md),
13+
* **Output** types (or field types) are: [Scalar](scalars.md), [Enum](enums.md), [Object](object-types.md),
1414
[Interface](interfaces.md), [Union](unions.md)
1515

16-
* **Input** types (or argument types) are: [Scalar](scalar-types.md), [Enum](enums.md), [Inputs](inputs.md)
16+
* **Input** types (or argument types) are: [Scalar](scalars.md), [Enum](enums.md), [Inputs](inputs.md)
1717

1818
Obviously, [NonNull and List](lists-and-nonnulls.md) types belong to both categories depending on their
1919
inner type.
File renamed without changes.

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ nav:
1414
- Type Definitions:
1515
- Introduction: type-definitions/index.md
1616
- Object Types: type-definitions/object-types.md
17-
- Scalars: type-definitions/scalar-types.md
17+
- Scalars: type-definitions/scalars.md
1818
- Enums: type-definitions/enums.md
1919
- Lists and Non-Nulls: type-definitions/lists-and-nonnulls.md
2020
- Interfaces: type-definitions/interfaces.md

0 commit comments

Comments
 (0)