Skip to content

Commit 30e1dfd

Browse files
benjaminhoffmanKyleAMathews
authored andcommitted
Removes words like 'simple' & 'easy' from docs/www (#3523)
* Removes words like 'simple' & 'easy' from docs/www * Additional optimizations * Update gatsby-v1.md * Update add-404-page.md * Update gatsby-style-guide.md * Update styled-components.md * Update index.md * Update index.md
1 parent 981ad20 commit 30e1dfd

File tree

14 files changed

+30
-34
lines changed

14 files changed

+30
-34
lines changed

docs/blog/2017-10-01-migrating-my-blog-from-hexo-to-gatsby/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ If you've worked with GraphQL before this should look very familiar. In fact, as
522522
you can see the string type is imported directly from GraphQL and not from
523523
Gatsby.
524524

525-
Basically you check the type of node and if it's a type your interested in you
525+
You check the type of node and if it's a type youʼre interested in you
526526
resolve with some fields. Fields in GraphQL require a `type` and a way to
527527
`resolve` the value.
528528

docs/blog/2017-11-06-migrate-hugo-gatsby/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ programatic creation of pages explained in the next section.
8989
This is the official
9090
[documentation](/docs/creating-and-modifying-pages/),
9191
plus there is a
92-
[tutorial](/tutorial/part-four/#data-in-gatsby) which
93-
gives examples. Basically, I had to create a `gatsby-node.js` file which exports
92+
[tutorial](/tutorial/part-four/#data-in-gatsby), which
93+
gives examples. In sum, I created a `gatsby-node.js` file which exports
9494
`createPages` method using the `createPage` action from
9595
[`boundActionCreators`](/docs/bound-action-creators/).
9696

@@ -165,7 +165,7 @@ for the
165165
The approach is well documented and you can also see
166166
[previews of the themes online](http://kyleamathews.github.io/typography.js/).
167167

168-
Steps were quite easy:
168+
Steps were:
169169

170170
Add `gatsby-plugin-typography` and `typography-theme-moraga` (for example) and
171171
"enable" the plugin in the `gatsby-config.js` file:

docs/blog/gatsby-v1.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ enables rich integrations with CMSs like Contentful, Wordpress, and Drupal along
116116
with other remote and local sources.
117117

118118
In Gatsby v0, (like pretty much every static site generator) data was processed
119-
then _pushed_ into templates to be rendered into HTML. This is a simple pattern
119+
then _pushed_ into templates to be rendered into HTML. This is a straight-forward pattern
120120
and works great for many use cases. But when you start working on more complex
121121
sites, you really start to miss the flexibility of a database-driven site. With
122122
a database, all your data is available to query against in any fashion you'd
@@ -144,7 +144,7 @@ This pattern of _colocating_ your queries next to your views is copied from the
144144
Colocation makes it easy to fully understand your views as everything necessary
145145
for that view is fully defined there.
146146

147-
A simple example of how this works in practice.
147+
An example of how this works in practice.
148148

149149
Say we had a markdown file that looked like:
150150

@@ -161,7 +161,7 @@ In our site, we would write a React component which acts as a template for all
161161
the blog posts. Included with the component is an exported `pageQuery`.
162162

163163
```jsx
164-
// A simple React component for rendering a blog page.
164+
// A basic React component for rendering a blog page.
165165
import React from "react";
166166

167167
class BlogPostTemplate extends React.Component {

docs/blog/gatsbygram-case-study/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ export const pageQuery = `
298298

299299
In addition to creating pages for our Instagram photos, we want to make an index
300300
page for browsing all photos. To build this index page, Gatsby lets us create
301-
pages using simple React.js components.
301+
pages using React.js components.
302302

303303
```
304304
pages/
@@ -310,7 +310,7 @@ These React component pages can query the Gatsbygram GraphQL schema for data and
310310
are automatically converted into their own pages at `gatsbygram.gatsbyjs.org/`
311311
and `gatsbygram.gatsbyjs.org/about/`.
312312

313-
Gatsbygram's `about.js` is a simple React component with no query. `index.js` is
313+
Gatsbygram's `about.js` is a plain React component with no query. `index.js` is
314314
more complex. It queries for thumbnails for all images and has an infinite
315315
scroll implementation to lazy load in image thumbnails.
316316

@@ -325,7 +325,7 @@ your header, footer, and default page structure. It is also used as the
325325
"[app shell](https://developers.google.com/web/updates/2015/11/app-shell)" when
326326
loading your site from a service worker.
327327

328-
A simple layout component might look something like this.
328+
A small layout component might look something like this.
329329

330330
```jsx
331331
import React from "react";

docs/docs/add-404-page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Add 404 Page"
33
---
44

5-
Adding a 404 page is easy. First, create a page whose path matches the regex
5+
To create a 404 page create a page whose path matches the regex
66
`/404*`. Most often you'll want to create a React component page at
77
`src/pages/404.js`.
88

docs/docs/gatsby-starters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Community:
7777

7878
* Bootstrap CSS framework
7979
* Single column layout
80-
* Simple components: SiteNavi, SitePost, SitePage
80+
* Basic components: SiteNavi, SitePost, SitePage
8181

8282
* [gatsby-blog-starter-kit](https://github.com/dschau/gatsby-blog-starter-kit)
8383

docs/docs/gatsby-style-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ to read.
195195
# Formatting example code
196196

197197
Readers will likely use Guide articles as a quick reference to look up syntax.
198-
Articles should have simple real-world examples that show common-use cases of
199-
that syntax.
198+
Articles should have a basic, real-world example that shows common use cases of
199+
its syntax.
200200

201201
Here are specific formatting guidelines for any code:
202202

@@ -258,7 +258,7 @@ it in a clear, accurate, and objective manner. You'll likely go through several
258258
rounds of proofreading and editing before you're happy with your writing.
259259

260260
Use the [Hemingway App](http://www.hemingwayapp.com/). There’s nothing magical
261-
about this simple tool, but it will automatically detect widely agreed-upon
261+
about this tool, but it will automatically detect widely agreed-upon
262262
style issues:
263263

264264
* passive voice

docs/docs/glamor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ CSS syntax React supports for the `style` prop. Glamor is a variant on "CSS-in-J
99

1010
One of the most important problems they solve is selector name collisions. With traditional CSS, you have to be careful not to overwrite CSS selectors used elsewhere in a site because all CSS selectors live in the same global namespace. This unfortunate restriction can lead to elaborate (and often confusing) selector naming schemes.
1111

12-
With CSS-in-JS, you avoid all that as CSS selectors are scoped automatically to their component. Styles are tightly coupled with their components. This makes it very easy to know how to edit a component's CSS as there's never any confusion about how and where CSS is being used.
12+
With CSS-in-JS, you avoid all that as CSS selectors are scoped automatically to their component. Styles are tightly coupled with their components. This makes it easier to know how to edit a component's CSS as there's never any confusion about how and where CSS is being used.
1313

1414
First, open a new terminal window and run the following to create a new site:
1515

docs/docs/styled-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Styled Components lets you use actual CSS syntax inside your components. Styled
88

99
One of the most important problems they solve is selector name collisions. With traditional CSS, you have to be careful not to overwrite CSS selectors used elsewhere in a site because all CSS selectors live in the same global namespace. This unfortunate restriction can lead to elaborate (and often confusing) selector naming schemes.
1010

11-
With CSS-in-JS, you avoid all that as CSS selectors are scoped automatically to their component. Styles are tightly coupled with their components. This makes it very easy to know how to edit a component's CSS as there's never any confusion about how and where CSS is being used.
11+
With CSS-in-JS, you avoid all that as CSS selectors are scoped automatically to their component. Styles are tightly coupled with their components. This makes it much easier to know how to edit a component's CSS as there's never any confusion about how and where CSS is being used.
1212

1313
First, open a new terminal window and run the following to create a new site:
1414

docs/tutorial/part-four/index.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ In Gatsby, GraphQL enables components to declare and receive the data they need.
7373
## Our first GraphQL query
7474

7575
Let's create another new site for this part of the tutorial like in the previous
76-
parts. We're going to build a simple Markdown blog called "Pandas Eating Lots".
76+
parts. We're going to build a Markdown blog called "Pandas Eating Lots".
7777
It's dedicated to showing off the best pictures & videos of Pandas eating lots
7878
of food. Along the way we'll be dipping our toes into GraphQL and Gatsby's
7979
Markdown support.
@@ -197,7 +197,7 @@ the following:
197197
198198
![start](start.png)
199199
200-
We have another simple site with a layout and two pages.
200+
We have another small site with a layout and two pages.
201201
202202
Now let's start querying 😋
203203

@@ -211,10 +211,7 @@ error-prone, especially as sites get larger and more complex. It's much better t
211211
store the title in one place and then _pull_ that title into components whenever
212212
we need it.
213213

214-
To solve this, Gatsby supports a simple pattern for adding site "metadata"—like
215-
the title.
216-
217-
We add this data to the `gatsby-config.js` file. Let's add our site title to
214+
To solve this, we can add site "metadata" — like page title or description — to the `gatsby-config.js` file. Let's add our site title to
218215
`gatsby-config.js` file and then query it from our layout and about page!
219216
220217
Edit your `gatsby-config.js`:
@@ -706,7 +703,7 @@ seem to really enjoy bananas!
706703
707704
![two-posts](two-posts.png)
708705
709-
Which looks great! Except…the order of the posts is wrong.
706+
Which looks great! Except… the order of the posts is wrong.
710707
711708
But this is easy to fix. When querying a connection of some type, you can pass a
712709
variety of arguments to the query. You can `sort` and `filter` nodes, set how
@@ -1078,7 +1075,7 @@ export const query = graphql`
10781075
`
10791076
```
10801077
1081-
And there we go! A working (albeit quite simple still) blog!
1078+
And there we go! A working, albeit small, blog!
10821079
10831080
Try playing more with the site. Try adding some more Markdown files. Explore
10841081
querying other data from the `MarkdownRemark` nodes and adding them to the

0 commit comments

Comments
 (0)