Skip to content

Commit 58e8d1d

Browse files
jbamptonwardpeet
andauthored
chore: fix spelling, remove whitespace and fix links (gatsbyjs#30012)
Co-authored-by: Ward Peeters <[email protected]>
1 parent ec57fb2 commit 58e8d1d

File tree

13 files changed

+18
-20
lines changed

13 files changed

+18
-20
lines changed

dictionary.txt

-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ APIs
5858
APIs.
5959
AppSync
6060
architecting
61-
Archlinux
6261
arg
6362
args
6463
args.
@@ -270,7 +269,6 @@ devcert
270269
devcert-cli
271270
devDependencies
272271
developMiddleware
273-
Devops
274272
DevOps
275273
DevTools
276274
Dgraph

docs/docs/deploying-to-digitalocean-droplet.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ There's a lot more to learn about DigitalOcean's Droplets, Ubuntu configurations
249249

250250
- [Microblog - Create a new non-root user with `sudo` privileges on Ubuntu-based DigitalOcean Droplet configured with SSH](https://dev.to/mistryvatsal/microblog-create-a-new-non-root-user-with-sudo-privileges-on-ubuntu-based-digitalocean-droplet-configured-with-ssh-1l3)
251251
- [Official DigitalOcean Docs](https://www.digitalocean.com/docs/)
252-
- [Official Nginx Docs](http://nginx.org/en/docs/)
253-
- [Configuring HTTPS Servers with Nginx](http://nginx.org/en/docs/http/configuring_https_servers.html)
252+
- [Official Nginx Docs](https://nginx.org/en/docs/)
253+
- [Configuring HTTPS Servers with Nginx](https://nginx.org/en/docs/http/configuring_https_servers.html)
254254
- [How To Install Nginx on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04)
255255
- [How To Secure Nginx with Let's Encrypt on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04)

docs/docs/deploying-to-gitlab-pages.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ If adding this manually to your project, the file needs to contain a few require
4141
image: node:latest
4242
4343
# This folder is cached between builds
44-
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
44+
# https://docs.gitlab.com/ce/ci/yaml/README.html#cache
4545
cache:
4646
paths:
4747
- node_modules/

docs/docs/glossary/continuous-deployment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ disableTableOfContents: true
77

88
Continuous deployment (CD) is the automation of code deployments. In a continuous deployment system, you don't push a <q>Deploy</q> button or run a `deploy` command. Instead, you build a _pipeline_ — a process that [builds](/docs/glossary/build/) and releases code automatically, without human intervention.
99

10-
You'll most likely use a service to create your continuous deployment pipeline. Services such as [Netlify](http://netlify.com/), [AWS Amplify](https://aws.amazon.com/amplify/), [Azure](https://azure.microsoft.com/en-us/), and [Vercel](https://vercel.com/) are popular with Gatsby users. Or you can use [Gatsby Builds](/blog/2020-01-27-announcing-gatsby-builds-and-reports/), a feature of the [Gatsby Cloud](https://www.gatsbyjs.com/) service.
10+
You'll most likely use a service to create your continuous deployment pipeline. Services such as [Netlify](https://www.netlify.com/), [AWS Amplify](https://aws.amazon.com/amplify/), [Azure](https://azure.microsoft.com/en-us/), and [Vercel](https://vercel.com/) are popular with Gatsby users. Or you can use [Gatsby Builds](/blog/2020-01-27-announcing-gatsby-builds-and-reports/), a feature of the [Gatsby Cloud](https://www.gatsbyjs.com/) service.
1111

1212
A continuous deployment pipeline begins with a [Git](https://git-scm.com/) repository. Git is source control management software, and you use it to manage changes to your site's code. Most continuous deployment services require a hosted Git service such as [GitHub](https://github.com/), [GitLab](https://about.gitlab.com/), or [Bitbucket](https://bitbucket.org/).
1313

docs/docs/glossary/headless-wordpress.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ Headless WordPress enables content writers to use a familiar interface while giv
2727

2828
## Learn More
2929

30-
- [Gatsby's WordPress intergation](/plugins/gatsby-source-wordpress/) for headless WordPress projects
30+
- [Gatsby's WordPress integration](/plugins/gatsby-source-wordpress/) for headless WordPress projects
3131
- [GraphQL for WordPress](https://www.wpgraphql.com/) open-source plugin
3232
- [Why Gatsby chose WordPress](/blog/gatsby-blog-wordpress/) - a case study

docs/docs/how-to/adding-common-features/adding-search.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Another option is to use an external search engine. This solution is much more s
3636
There are many options available, including both self-hosted and commercially hosted open source:
3737

3838
- [ElasticSearch](https://www.elastic.co/products/elasticsearch) — OSS and has commercial hosting available
39-
- [Solr](http://lucene.apache.org/solr/) — OSS and has commercial hosting available
39+
- [Solr](https://solr.apache.org) — OSS and has commercial hosting available
4040
- [Algolia](https://www.algolia.com/) — Commercial
4141

4242
Of these, the most common solution is Algolia. The Gatsby docs include a guide to adding Algolia to your site:

docs/docs/how-to/local-development/gatsby-on-linux.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Finally, install `git` which will be necessary for creating your first Gatsby pr
7979
sudo dnf install git
8080
```
8181

82-
## Archlinux and other `pacman` based distros
82+
## Arch Linux and other `pacman` based distros
8383

8484
Begin by updating.
8585

docs/docs/reference/release-notes/migrating-from-v2-to-v3.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ export default Navigation
743743
744744
### webpack deprecation messages
745745
746-
When running community Gatsby plugins, you might see `[DEP_WEBPACK]` messages popup during the "Building Javascript" or the "Building SSR bundle" phase. These often mean that the plugin is not compatible with webpack 5 yet. Contact the Gatsby plugin author or the webpack plugin author to flag this issue. Most of the time Gatsby will build fine, however there are cases that it won't and the reasons why could be cryptic.
746+
When running community Gatsby plugins, you might see `[DEP_WEBPACK]` messages popup during the "Building JavaScript" or the "Building SSR bundle" phase. These often mean that the plugin is not compatible with webpack 5 yet. Contact the Gatsby plugin author or the webpack plugin author to flag this issue. Most of the time Gatsby will build fine, however there are cases that it won't and the reasons why could be cryptic.
747747
748748
## Using `fs` in SSR
749749

docs/docs/sourcing-from-forestry.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ First, clone the Gatsby default starter repository.
2222
git clone https://github.com/gatsbyjs/gatsby-starter-default.git gatsby-forestry-example
2323
```
2424

25-
Next, on GitHub create a new repository. The repository must live on a Git provider for it to be available to Forestry CMS. I'm using GitHub, but you can also use GitLab, Bitbucket, or Azure Devops as well. Set your cloned repository's remote url to point to your newly created repository on GitHub.
25+
Next, on GitHub create a new repository. The repository must live on a Git provider for it to be available to Forestry CMS. I'm using GitHub, but you can also use GitLab, Bitbucket, or Azure DevOps as well. Set your cloned repository's remote url to point to your newly created repository on GitHub.
2626

2727
```shell
2828
git remote set-url origin <your-github-repo-link>

docs/docs/tutorial/part-zero/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Before you start building your first Gatsby site, you’ll need to familiarize y
1010

1111
The command line is a text-based interface used to run commands on your computer. You’ll also often see it referred to as the terminal. In this tutorial, we’ll use both interchangeably. It’s a lot like using the Finder on a Mac or Explorer on Windows. Finder and Explorer are examples of graphical user interfaces (GUI). The command line is a powerful, text-based way to interact with your computer.
1212

13-
Take a moment to locate and open up the command line interface (CLI) for your computer. Depending on which operating system you are using, see [**instructions for Mac**](http://www.macworld.co.uk/feature/mac-software/how-use-terminal-on-mac-3608274/), [**instructions for Windows**](https://www.lifewire.com/how-to-open-command-prompt-2618089) or [**instructions for Linux**](https://www.howtogeek.com/140679/beginner-geek-how-to-start-using-the-linux-terminal/).
13+
Take a moment to locate and open up the command line interface (CLI) for your computer. Depending on which operating system you are using, see [**instructions for Mac**](https://www.macworld.co.uk/feature/mac-software/how-use-terminal-on-mac-3608274/), [**instructions for Windows**](https://www.lifewire.com/how-to-open-command-prompt-2618089) or [**instructions for Linux**](https://www.howtogeek.com/140679/beginner-geek-how-to-start-using-the-linux-terminal/).
1414

1515
_**Note:** If you’re new to the command line, "running" a command, means "writing a given set of instructions in your command prompt, and hitting the Enter key". Commands will be shown in a highlighted box, something like `node --version`, but not every highlighted box is a command! If something is a command it will be mentioned as something you have to run/execute._
1616

packages/gatsby-source-wordpress/docker/wordpress/install-wp-graphql-plugins.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ WP_CONTENT_DIR=/usr/src/wordpress/wp-content
33
PLUGIN_DIR=${WP_CONTENT_DIR}/plugins
44

55
mkdir -p ${PLUGIN_DIR} && \
6-
# WP GraphQL from github release
7-
git clone --depth 1 -b ${WPGRAPHQL_VERSION} https://github.com/wp-graphql/wp-graphql.git ${PLUGIN_DIR}/wp-graphql && \
6+
# WP GraphQL from GitHub release
7+
git clone --depth 1 -b ${WPGRAPHQL_VERSION} https://github.com/wp-graphql/wp-graphql.git ${PLUGIN_DIR}/wp-graphql && \
88

99
# Install wp-gatsby using git, and apply a diff
1010
git clone --depth 1 -b ${WPGATSBY_VERSION} https://github.com/gatsbyjs/wp-gatsby.git ${PLUGIN_DIR}/wp-gatsby && \
1111

12-
# WP GraphQL ACF from github release
12+
# WP GraphQL ACF from GitHub release
1313
install-plugin wp-graphql-acf wp-graphql/wp-graphql-acf ${WPGRAPHQL_ACF_VERSION} && \
1414

15-
# WP GraphQL CPTUI from github release
15+
# WP GraphQL CPTUI from GitHub release
1616
install-plugin wp-graphql-custom-post-type-ui wp-graphql/wp-graphql-custom-post-type-ui ${WPGRAPHQL_CPT_UI_VERSION} && \
1717

1818
git clone --depth 1 -b ${ACF_VERSION} https://github.com/wp-premium/advanced-custom-fields-pro.git ${PLUGIN_DIR}/advanced-custom-fields-pro && \

packages/gatsby/src/redux/nodes.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ export const getNodesFromCacheByValue = (
743743
})
744744

745745
// TODO: there's probably a more efficient algorithm to do set
746-
// subtraction in such a way that we dont have to re-sort
746+
// subtraction in such a way that we don't have to re-sort
747747
return [...set].sort((A, B) => A.internal.counter - B.internal.counter)
748748
}
749749

@@ -753,7 +753,7 @@ export const getNodesFromCacheByValue = (
753753
removeBucketFromSet(filterValue, filterCache, set)
754754

755755
// TODO: there's probably a more efficient algorithm to do set
756-
// subtraction in such a way that we dont have to resort here
756+
// subtraction in such a way that we don't have to resort here
757757
return [...set].sort((A, B) => A.internal.counter - B.internal.counter)
758758
}
759759

packages/gatsby/src/schema/__tests__/run-query.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2376,7 +2376,7 @@ describe(`collection fields`, () => {
23762376
},
23772377
})
23782378

2379-
// 0 doesnt have it, 1 has it as an object, 2 has it as null
2379+
// 0 doesn't have it, 1 has it as an object, 2 has it as null
23802380

23812381
expect(result.length).toEqual(3)
23822382
expect(result[0].id).toEqual(`0`)
@@ -2393,7 +2393,7 @@ describe(`collection fields`, () => {
23932393
},
23942394
})
23952395

2396-
// 0 doesnt have it, 1 has it as an object, 2 has it as null
2396+
// 0 doesn't have it, 1 has it as an object, 2 has it as null
23972397

23982398
expect(result.length).toEqual(3)
23992399
expect(result[0].id).toEqual(`1`)

0 commit comments

Comments
 (0)