Skip to content

Commit 542d945

Browse files
authored
chore: fix spelling, grammar, links, whitespace and end of files (#30063)
1 parent 28956fe commit 542d945

File tree

10 files changed

+20
-21
lines changed

10 files changed

+20
-21
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
Gatsby is a modern web framework for blazing fast websites.
6262

6363
- **Go Beyond Static Websites.** Get all the benefits of static websites with none of the
64-
limitations. Gatsby sites are fully functional React apps so you can create high-quality,
64+
limitations. Gatsby sites are fully functional React apps, so you can create high-quality,
6565
dynamic web apps, from blogs to e-commerce sites to user dashboards.
6666

6767
- **Use a Modern Stack for Every Site.** No matter where the data comes from, Gatsby sites are
@@ -76,7 +76,7 @@ Gatsby is a modern web framework for blazing fast websites.
7676
splitting, image optimization, inlining critical styles, lazy-loading, prefetching resources,
7777
and more to ensure your site is fast — no manual tuning required.
7878

79-
- **Host at Scale for Pennies.** Gatsby sites don’t require servers so you can host your entire
79+
- **Host at Scale for Pennies.** Gatsby sites don’t require servers, so you can host your entire
8080
site on a CDN for a fraction of the cost of a server-rendered site. Many Gatsby sites can be
8181
hosted entirely free on [Gatsby Cloud](https://www.gatsbyjs.com/cloud/) and other similar services.
8282

@@ -99,7 +99,6 @@ You can get a new Gatsby site up and running on your local dev environment in 5
9999

100100
```shell
101101
npm install -g gatsby-cli
102-
103102
```
104103

105104
2. **Create a Gatsby site from a Gatsby starter.**
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Settings in the [build] context are global and are applied to all contexts
2-
# unless otherwise overridden by more specific contexts.
1+
# Settings in the [build] context are global and are applied to all contexts
2+
# unless otherwise overridden by more specific contexts.
33
[build]
4-
# Directory to change to before starting a build.
4+
# Directory to change to before starting a build.
55
# This is where we will look for package.json/.nvmrc/etc.
66
base = "/"
77

8-
# Directory (relative to root of your repo) that contains the deploy-ready
8+
# Directory (relative to root of your repo) that contains the deploy-ready
99
# HTML files and assets generated by the build. If a base directory has
1010
# been specified, include it in the publish directory path.
1111
publish = "public/"
@@ -16,4 +16,4 @@
1616
[template.environment]
1717
GATSBY_STRIPE_PUBLISHABLE_KEY = "Add your Stripe publishable key here: pk_test_xxx"
1818
GATSBY_BUTTON_PRICE_ID = "The price id for the one-time purchase product: price_xxx"
19-
STRIPE_SECRET_KEY = "Add your Stripe secret key here: sk_test_xxx"
19+
STRIPE_SECRET_KEY = "Add your Stripe secret key here: sk_test_xxx"

examples/recipes-gatsby-image/src/pages/examples/fixed-max-width.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Layout from "../../components/layout"
77
/*
88
1. write a query for sourced images
99
2. be sure to query for the fixed field
10-
3. adad a style prop to the Img component
10+
3. add a style prop to the Img component
1111
*/
1212

1313
export default () => {

examples/recipes-gatsby-image/src/pages/examples/inline-styles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Img from "gatsby-image"
55
import Layout from "../../components/layout"
66

77
/*
8-
1. write query
8+
1. write query
99
2. pass data into img component
1010
*/
1111

examples/recipes-gatsby-image/src/pages/examples/relative-path.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Img from "gatsby-image"
55
import Layout from "../../components/layout"
66

77
/*
8-
1. write query
8+
1. write query
99
2. pass data into img component
1010
*/
1111

examples/using-remark/src/pages/2016-04-15---hello-world-kitchen-sink/index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ The examples on this page cover the basic Markdown syntax and are adapted from
3030
---
3131

3232
This is intended as a quick reference and showcase. For more complete info, see
33-
[John Gruber's original spec](http://daringfireball.net/projects/markdown/) and
33+
[John Gruber's original spec](https://daringfireball.net/projects/markdown/) and
3434
the
35-
[GitHub-flavored Markdown info page](http://github.github.com/github-flavored-markdown/).
35+
[GitHub-flavored Markdown info page](https://github.github.com/github-flavored-markdown/).
3636

3737
##### Table of Contents
3838

@@ -173,8 +173,8 @@ example.com (but not on GitHub, for example).
173173
Some text to show that the reference links can follow later.
174174
175175
[arbitrary case-insensitive reference text]: https://www.mozilla.org
176-
[1]: http://slashdot.org
177-
[link text itself]: http://www.reddit.com
176+
[1]: https://slashdot.org
177+
[link text itself]: https://www.reddit.com
178178
```
179179

180180
[I'm an inline-style link](https://www.google.com)

packages/gatsby-cli/src/handlers/plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default async (root: string, cmd: string | undefined): Promise<void> => {
1111
- What You Don't Need Plugins For (https://www.gatsbyjs.com/docs/what-you-dont-need-plugins-for/)
1212
- Loading Plugins from Your Local Plugins Folder (https://www.gatsbyjs.com/docs/loading-plugins-from-your-local-plugins-folder/)
1313
- Plugin Library (https://www.gatsbyjs.com/plugins/)
14-
14+
1515
Creating a plugin:
1616
- Naming a Plugin (https://www.gatsbyjs.com/docs/naming-a-plugin/)
1717
- Files Gatsby Looks for in a Plugin (https://www.gatsbyjs.com/docs/files-gatsby-looks-for-in-a-plugin/)

packages/gatsby-source-contentful/src/extend-node-type.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ exports.extendNodeType = ({ type, store }) => {
788788
The image formats to generate. Valid values are AUTO (meaning the same format as the source image), JPG, PNG, and WEBP.
789789
The default value is [AUTO, WEBP], and you should rarely need to change this. Take care if you specify JPG or PNG when you do
790790
not know the formats of the source images, as this could lead to unwanted results such as converting JPEGs to PNGs. Specifying
791-
both PNG and JPG is not supported and will be ignored.
791+
both PNG and JPG is not supported and will be ignored.
792792
`,
793793
defaultValue: [``, `webp`],
794794
},

packages/gatsby-transformer-documentationjs/src/__tests__/fixtures/complex-example.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ exports.complex = {
2727
ready: new Promise(),
2828
nested: {
2929
foo: `bar`,
30-
callback: message => {
30+
callback: message => {
3131
return message.split(`,`)
3232
}
3333
}
3434
}
35-
}
35+
}

packages/gatsby-transformer-screenshot/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ property, and creates `Screenshot` child nodes with a `screenshotFile` field.
77
[Live demo](https://thatotherperson.github.io/gatsby-screenshot-demo/)
88
([source](https://github.com/ThatOtherPerson/gatsby-screenshot-demo))
99

10-
Data should be in a yaml file named `sites.yml` and look like:
10+
Data should be in a YAML file named `sites.yml` and look like:
1111

1212
```yaml
1313
- url: https://reactjs.org/
@@ -31,7 +31,7 @@ module.exports = {
3131
}
3232
```
3333

34-
By default, the plugin will target nodes sourced from a yaml file named `sites.yml`.
34+
By default, the plugin will target nodes sourced from a YAML file named `sites.yml`.
3535

3636
To source additional node types, supply an array of the types to a `nodeTypes` option on the plugin.
3737

0 commit comments

Comments
 (0)