From 348ab83c5e1b08bc7131bf5199d802f202a5b2fc Mon Sep 17 00:00:00 2001 From: Stephen Barlow Date: Mon, 31 Jan 2022 16:05:26 -0800 Subject: [PATCH] Fix broken links --- docs/source/downloading-schema.md | 4 ++-- docs/source/tutorial/tutorial-obtain-schema.md | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/source/downloading-schema.md b/docs/source/downloading-schema.md index 1f75482527..ab74980e25 100644 --- a/docs/source/downloading-schema.md +++ b/docs/source/downloading-schema.md @@ -8,13 +8,13 @@ Apollo iOS requires a GraphQL schema file as input to the code generation proces You can use the [Apollo CLI](https://www.apollographql.com/docs/devtools/cli/) to download a GraphQL schema by sending an introspection query to the server. -If you've installed the CLI globally, you can use the following command to download your schema: +If you've installed the CLI globally, you can use the following command to download your schema: ```sh apollo schema:download --endpoint=http://localhost:8080/graphql schema.json ``` -Note that if you're using the local version set up for codegen, you'll want to use the same method you're using in the [Adding A Code Generation Build Step](installation#adding-a-code-generation-build-step) instructions to access that specific CLI. For example, if you're using CocoaPods, you can set it up like this to download your schema: +Note that if you're using the local version set up for codegen, you'll want to use the same method you're using in the [Add a code generation build step](/installation#5-add-a-code-generation-build-step) instructions to access that specific CLI. For example, if you're using CocoaPods, you can set it up like this to download your schema: ```sh SCRIPT_PATH="${PODS_ROOT}/Apollo/scripts" diff --git a/docs/source/tutorial/tutorial-obtain-schema.md b/docs/source/tutorial/tutorial-obtain-schema.md index ec383dc594..a9407a9444 100644 --- a/docs/source/tutorial/tutorial-obtain-schema.md +++ b/docs/source/tutorial/tutorial-obtain-schema.md @@ -6,11 +6,11 @@ This tutorial uses a modified version of the GraphQL server you build as part of The Sandbox query explorer -You'll know that this Sandbox instance is pointed at our server because its URL, `https://apollo-fullstack-tutorial.herokuapp.com`, is in the box at the top left of the page. If Sandbox is properly connected, you'll see a green dot: +You'll know that this Sandbox instance is pointed at our server because its URL, `https://apollo-fullstack-tutorial.herokuapp.com`, is in the box at the top left of the page. If Sandbox is properly connected, you'll see a green dot: A closeup of the URL box with a dot indicating it's connected -The schema defines which GraphQL operations your server can execute. At the top left, click the schema icon to get an overview of your schema: +The schema defines which GraphQL operations your server can execute. At the top left, click the schema icon to get an overview of your schema: The schema icon to click @@ -24,11 +24,11 @@ The Apollo iOS SDK needs a local copy of your server's schema to generate code f To use the Apollo CLI from Xcode, add a **Run Script** build phase to your app: -1. Select the `xcodeproj` file in the Project Navigator, and then select the `RocketReserver` application target: +1. Select the `xcodeproj` file in the Project Navigator, and then select the `RocketReserver` application target: Selecting application target -2. A list of tabs appears. Select the **Build Phases** tab: +2. A list of tabs appears. Select the **Build Phases** tab: Build phases menu item @@ -37,7 +37,7 @@ To use the Apollo CLI from Xcode, add a **Run Script** build phase to your app: Creating a new run script build phase This adds a new Run Script build phase to the bottom of your list of build phases. - + 4. Drag the newly created phase up between "Dependencies" and "Compile Sources": Where to drag the run script @@ -46,7 +46,7 @@ To use the Apollo CLI from Xcode, add a **Run Script** build phase to your app: UI for renaming -6. Expand the Apollo phase. Paste the **Swift Package Manager Run Script** from [Adding a code generation build step](/installation/#adding-a-code-generation-build-step) into the text area. This script uses your schema to generate the code that the Apollo iOS SDK uses to interact with your server. +6. Expand the Apollo phase. Paste the **Swift Package Manager Run Script** from [Add a code generation build step](/installation#5-add-a-code-generation-build-step) into the text area. This script uses your schema to generate the code that the Apollo iOS SDK uses to interact with your server. 7. Before the script can generate code, it needs a local copy of your GraphQL server's schema. For now, using a `#`, **comment out the last line** of the script you pasted and add the following line below it: @@ -60,7 +60,7 @@ To use the Apollo CLI from Xcode, add a **Run Script** build phase to your app: Where to drag the schema file - When Xcode offers to add the schema file, make sure **all targets are unchecked** to reduce the size of your application bundle: + When Xcode offers to add the schema file, make sure **all targets are unchecked** to reduce the size of your application bundle: All targets unchecked in dialog