From 30a1ac016d5b3e85f99457724a9df8ed98de5039 Mon Sep 17 00:00:00 2001 From: rderbier Date: Thu, 16 Feb 2023 08:22:05 -0800 Subject: [PATCH] gqlschema section update --- content/cloud/cloud-api/_index.md | 2 +- content/graphql/schema/_index.md | 2 +- content/graphql/schema/authorization/_index.md | 2 +- content/graphql/schema/dgraph-schema.md | 2 +- content/graphql/schema/directives/_index.md | 2 +- content/graphql/schema/documentation.md | 2 +- content/graphql/schema/graph-links.md | 2 +- content/graphql/schema/migration.md | 2 +- content/graphql/schema/reserved.md | 2 +- content/graphql/schema/types.md | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/content/cloud/cloud-api/_index.md b/content/cloud/cloud-api/_index.md index 79fa9f1b..b8b3a776 100644 --- a/content/cloud/cloud-api/_index.md +++ b/content/cloud/cloud-api/_index.md @@ -2,6 +2,6 @@ title = "Dgraph Cloud API" weight = 15 [menu.main] - identifier = "cloud" + identifier = "cloud-api" parent = "cloud" +++ diff --git a/content/graphql/schema/_index.md b/content/graphql/schema/_index.md index 62566edb..91d30872 100644 --- a/content/graphql/schema/_index.md +++ b/content/graphql/schema/_index.md @@ -1,7 +1,7 @@ +++ title = "Schema" [menu.main] - identifier = "schema" + identifier = "gqlschema" parent = "graphql" weight = 2 +++ diff --git a/content/graphql/schema/authorization/_index.md b/content/graphql/schema/authorization/_index.md index b8400d5d..9b4ecf5e 100644 --- a/content/graphql/schema/authorization/_index.md +++ b/content/graphql/schema/authorization/_index.md @@ -3,7 +3,7 @@ title = "Authorization" weight = 5 [menu.main] identifier = "authorization" - parent = "schema" + parent = "gqlschema" +++ Dgraph's GraphQL implementation comes with built-in authorization. This lets you annotate your schema with rules that determine who can query and mutate your data. diff --git a/content/graphql/schema/dgraph-schema.md b/content/graphql/schema/dgraph-schema.md index 0c35e5bb..a504e797 100644 --- a/content/graphql/schema/dgraph-schema.md +++ b/content/graphql/schema/dgraph-schema.md @@ -3,7 +3,7 @@ title = "Dgraph Schema Fragment" description = "While editing your schema, this GraphQL schema fragment can be useful. It sets up the definitions of the directives that you’ll use in your schema." weight = 9 [menu.main] - parent = "schema" + parent = "gqlschema" +++ While editing your schema, you might find it useful to include this GraphQL schema fragment. It sets up the definitions of the directives, etc. (like `@search`) that you'll use in your schema. If your editor is GraphQL aware, it may give you errors if you don't have this available and context sensitive help if you do. diff --git a/content/graphql/schema/directives/_index.md b/content/graphql/schema/directives/_index.md index b98099eb..dee153d7 100644 --- a/content/graphql/schema/directives/_index.md +++ b/content/graphql/schema/directives/_index.md @@ -3,7 +3,7 @@ title = "Directives" weight = 4 [menu.main] identifier = "directives" - parent = "schema" + parent = "gqlschema" +++ The list of all directives supported by Dgraph. diff --git a/content/graphql/schema/documentation.md b/content/graphql/schema/documentation.md index 5c3949f4..498c9e9a 100644 --- a/content/graphql/schema/documentation.md +++ b/content/graphql/schema/documentation.md @@ -3,7 +3,7 @@ title = "Documentation and Comments" description = "Dgraph accepts GraphQL documentation comments, which get passed through to the generated API and shown as documentation in GraphQL tools." weight = 7 [menu.main] - parent = "schema" + parent = "gqlschema" +++ ## Schema Documentation Processed by Generated API diff --git a/content/graphql/schema/graph-links.md b/content/graphql/schema/graph-links.md index bdf78239..e6c8c823 100644 --- a/content/graphql/schema/graph-links.md +++ b/content/graphql/schema/graph-links.md @@ -3,7 +3,7 @@ title = "Relationships" description = "All the data in your app form a GraphQL data graph. That graph has nodes of particular types and relationships between the nodes to form the data graph." weight = 2 [menu.main] - parent = "schema" + parent = "gqlschema" +++ All the data in your app form a GraphQL data graph. That graph has nodes of particular types and relationships between the nodes to form the data graph. diff --git a/content/graphql/schema/migration.md b/content/graphql/schema/migration.md index f624e6ef..56ed7d0a 100644 --- a/content/graphql/schema/migration.md +++ b/content/graphql/schema/migration.md @@ -3,7 +3,7 @@ title = "Schema Migration" description = "This document describes all the things that you need to take care while doing a schema update or migration." weight = 5 [menu.main] - parent = "schema" + parent = "gqlschema" identifier = "schema-migration" +++ diff --git a/content/graphql/schema/reserved.md b/content/graphql/schema/reserved.md index d946d989..0b7ef3b7 100644 --- a/content/graphql/schema/reserved.md +++ b/content/graphql/schema/reserved.md @@ -3,7 +3,7 @@ title = "Reserved Names" description = "This document provides the full list of names that are reserved and can’t be used to define any other identifiers." weight = 3 [menu.main] - parent = "schema" + parent = "gqlschema" +++ The following names are reserved and can't be used to define any other identifiers: diff --git a/content/graphql/schema/types.md b/content/graphql/schema/types.md index 4395b45d..a014843b 100644 --- a/content/graphql/schema/types.md +++ b/content/graphql/schema/types.md @@ -3,7 +3,7 @@ title = "Types" description = "How to use GraphQL types to set a GraphQL schema for the Dgraph database. Includes scalars, enums, types, interfaces, union, password, & geolocation types." weight = 1 [menu.main] - parent = "schema" + parent = "gqlschema" +++ This page describes how to use GraphQL types to set the a GraphQL schema for