Skip to content

Commit

Permalink
chore(docs): Fix some typos (gatsbyjs#36431)
Browse files Browse the repository at this point in the history
Fix some typos

This PR is fix some spelling.

- docs/docs/reference/config-files/gatsby-config.md
- examples/functions-google-gmail/README.md
- examples/functions-google-oauth/README.md
  • Loading branch information
taiga39 authored Aug 24, 2022
1 parent 1bf2358 commit 0b458e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/docs/reference/config-files/gatsby-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ module.exports = {

### typesOutputPath

You can specifiy the path of the generated TypeScript types file relative to the site root. Default: `src/gatsby-types.d.ts`.
You can specify the path of the generated TypeScript types file relative to the site root. Default: `src/gatsby-types.d.ts`.

### generateOnBuild

Expand Down
4 changes: 2 additions & 2 deletions examples/functions-google-gmail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

1. **Set up Google OAuth Client.**

This sample uses google oAuth client to authenticate into the Google inbox api. Obtain an oAuth credential from the Google Cloud [API & Services Credentails Page](https://console.cloud.google.com/apis/credentials?)
This sample uses google oAuth client to authenticate into the Google inbox api. Obtain an oAuth credential from the Google Cloud [API & Services Credentials Page](https://console.cloud.google.com/apis/credentials?)

- Generate an Oauth Client ID. You can follow the steps highlighted in [Account Authentication - Service Account](https://theoephraim.github.io/node-google-spreadsheet/#/getting-started/authentication?id=oauth). Make sure to set up at least one **Authorized redirect URI** to be `http://localhost:8000`
- Enable the [Gmail API](https://console.cloud.google.com/apis/api/gmail.googleapis.com) in your Google Cloud project.
Expand All @@ -20,7 +20,7 @@

There are **2** environment variable you'll need to add to your project:

- `GATSBY_GOOGLE_CLIENT_ID`: Fetch the ClientId from the newly created OAuth 2.0 Client ID. Yuo can find it in the [Google Credentials Console](https://console.cloud.google.com/apis/credentials)
- `GATSBY_GOOGLE_CLIENT_ID`: Fetch the ClientId from the newly created OAuth 2.0 Client ID. You can find it in the [Google Credentials Console](https://console.cloud.google.com/apis/credentials)

You'll also want to add these as environment variables when deploying to Gatsby Cloud.

Expand Down
4 changes: 2 additions & 2 deletions examples/functions-google-oauth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ This example illustrates logging in with Google 0Auth via Gatsby Functions and d

There are **2** environment variable you'll need to add to your project:

- `GOOGLE_CLIENT_ID`: Fetch the ClientId from the newly created OAuth 2.0 Client ID. Yuo can find it in the [Google Credentials Console](https://console.cloud.google.com/apis/credentials)
- `GOOGLE_CLIENT_SECRET`: Fetch the Client Secret from the newly created OAuth 2.0 Client ID. Yuo can find it in the [Google Credentials Console](https://console.cloud.google.com/apis/credentials)
- `GOOGLE_CLIENT_ID`: Fetch the ClientId from the newly created OAuth 2.0 Client ID. You can find it in the [Google Credentials Console](https://console.cloud.google.com/apis/credentials)
- `GOOGLE_CLIENT_SECRET`: Fetch the Client Secret from the newly created OAuth 2.0 Client ID. You can find it in the [Google Credentials Console](https://console.cloud.google.com/apis/credentials)

You'll also want to add these as environment variables when deploying to Gatsby Cloud.

Expand Down

0 comments on commit 0b458e6

Please sign in to comment.