Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a #1

Merged
merged 106 commits into from
Oct 14, 2019
Merged

a #1

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
5347e88
chore(showcase): Add Josh Pensky portfolio (#18385)
joshpensky Oct 11, 2019
a592c83
chore(showcase): Adding ajonp as creator and site ajonp.com (#18197)
Oct 11, 2019
de3f323
fix(gatsby): update location state when location.key changes (#18039)
universse Oct 11, 2019
dab05c8
feat(www): Implement dark mode user system preference: `prefers-color…
Oct 11, 2019
bb31df2
fix(www): Fix `theme-ui` theme `breakpoints` (#18517)
fk Oct 11, 2019
916458c
chore(using-jest): Mock useStaticQuery (#18515)
jpedroschmitz Oct 11, 2019
93ccb13
chore(gatsby-plugin-mdx): add typings (#18082)
thchia Oct 11, 2019
db43ed9
chore(release): Publish
wardpeet Oct 11, 2019
a93df04
fix: update dependency webpack to v4.41.1 (#18504)
renovate[bot] Oct 11, 2019
2f0fe21
chore: update dependency aws-sdk to ^2.547.0 (#18469)
renovate[bot] Oct 11, 2019
f724793
chore(showcase): Add viviGuides (#18440)
valse Oct 11, 2019
d254f56
chore(showcase): Add AtomBuild (#18417)
keplersj Oct 11, 2019
864f99f
fix(www): fix alignment of search bar on tags page (#18472)
rokibulislaam Oct 11, 2019
d08c595
fix: update gatsby monorepo (#18522)
renovate[bot] Oct 11, 2019
d8648d3
chore(gatsby-cli): Improvements on cli errors (#18479)
eulercb Oct 11, 2019
e479eb0
chore: fix broken anchor in readme (#18523)
ehowey Oct 11, 2019
02b72d3
docs: deploy to aws with env variables and multiple aws profiles (#18…
kimberrypi Oct 11, 2019
4ba0c02
docs: Contributing style changes (#18419)
aditsachde Oct 11, 2019
55433b4
docs: Blogpost about improving time to interactive in gatsby-plugin-s…
Kilian Oct 11, 2019
65e3937
updated pronouns per directions in issue #18284 (#18455)
aaronshivers Oct 11, 2019
fc5341d
chore(www): fix title casing on sidebar (#18415)
pixelflowxyz Oct 11, 2019
cefa4a3
[docs] add issue to stub on async data (#18485)
aditsachde Oct 11, 2019
d4d2ccc
Fixing "we - you" and "our -your" (#18496)
Prime-5 Oct 11, 2019
3adb08e
Add tags to posts-query (#18524)
ehowey Oct 12, 2019
968cd86
fix(www): Main nav partially active state; improve dark mode contrast…
fk Oct 12, 2019
492a26f
fix: update dependency @reach/skip-nav to ^0.3.0 (#18535)
renovate[bot] Oct 12, 2019
a24b9ef
fix: update dependency guess-webpack to ~0.4.9 (#18537)
renovate[bot] Oct 12, 2019
3164a1c
chore: update babel monorepo to ^7.6.4 (#18453)
renovate[bot] Oct 12, 2019
94d88ad
chore: update dependency aws-sdk to ^2.548.0 (#18527)
renovate[bot] Oct 12, 2019
45a31b3
chore: update dependency husky to v3.0.9 (#18557)
renovate[bot] Oct 13, 2019
e3d857c
fix(www): Fix heading color on dark theme (#18558)
sterjoski Oct 13, 2019
f651b47
chore(release): Publish
sidharthachatterjee Oct 14, 2019
eafb8c6
feat(gatsby): structured logging (#14973)
pieh Oct 14, 2019
b2fb805
chore(release): Publish
sidharthachatterjee Oct 14, 2019
7a20eb7
fix: update dependency core-js to ^2.6.10 (#18569)
renovate[bot] Oct 14, 2019
569ee47
chore: update gatsby monorepo (#18591)
renovate[bot] Oct 14, 2019
ede9552
chore: format svg (#18588)
wardpeet Oct 14, 2019
e7da47e
fix: update dependency react-redux to ^7.1.1 (#18592)
renovate[bot] Oct 14, 2019
1525257
fix: update dependency autoprefixer to ^9.6.5 (#18598)
renovate[bot] Oct 14, 2019
3ca033e
fix: update dependency gatsby to ^2.16.0 (#18594)
renovate[bot] Oct 14, 2019
c9cc01a
fix(showcase): re-add categories and other metadata after weird maste…
pieh Oct 14, 2019
a1dffac
feat(gatsby-cli): Add instructions after new (#18332)
anikethsaha Oct 14, 2019
d2869ad
fix(gatsby): Fix sort for Node 12 (#18502)
stefanprobst Oct 14, 2019
dbe40f2
chore(showcase): Add arturoalviar.com (#18407)
arturoalviar Oct 14, 2019
322cac3
Fix typo in Using Gatsby-Image With Your Site
sidharthachatterjee Oct 14, 2019
0c93b64
chore(showcase): Add tfe.energy (#18403)
maduby Oct 14, 2019
db3f7b0
Add title in Customizing the GraphQL Schema (#18584)
nickyfahey Oct 14, 2019
f9933b1
fix(gatsby-plugin-sharp): Allow brackets in paths (#18289)
emilpalsson Oct 14, 2019
7eac4e3
chore(starters): add gatsby-starter-material-album (#18546)
JoeTrubenstein Oct 14, 2019
5ffd3c2
docs: Add step to check node version when setting up local dev enviro…
mrkutly Oct 14, 2019
1b73d7d
chore(showcase): edit Element 84 (#18581)
colbyfayock Oct 14, 2019
dc6642f
fix(gatsby-source-drupal): add error handling for empty body (#18568)
timhagn Oct 14, 2019
84fa85d
chore(showcase): add personal blog to showcase (#18462)
divyanshu013 Oct 14, 2019
aafabc6
chore(gastby-transformer-sqip): Use createContentDigest helper (#18534)
jbutz Oct 14, 2019
1b7af17
chore(docs): Conform deployment guides' documentation to Gatsby Style…
aestevens Oct 14, 2019
8a790d1
chore(docs): Updates Title Case and pronouns (#18476)
SarahLKatz Oct 14, 2019
00942cb
chore(docs): Update Title Case in "Adding an SEO component" (#18488)
dosden Oct 14, 2019
9382c65
chore(docs): Remove extra colon in the sub-heading (#18501)
Oct 14, 2019
26141cc
chore(docs): Fix broken link (#18508)
luisFilipePT Oct 14, 2019
b51c9df
chore(showcase): Add rathes.me (#18464)
rathesDot Oct 14, 2019
acc3031
chore(docs): Update 'add-custom-webpack-config' (#18487)
YzahFe Oct 14, 2019
f339bc4
chore(gatsby-plugin-typescript): Update Caveats (#18532)
nimaa77 Oct 14, 2019
a0c134a
chore(docs): aligning pronouns with style guide (#18542)
kaylasween Oct 14, 2019
9a0255e
chore(www): Adding Title Case to tutorial sidebar menu (#18540)
jesCodingHere Oct 14, 2019
30a64e5
chore(blog): Updated titles according to Style Guide (#18561)
calra123 Oct 14, 2019
438ff28
chore(docs): Added Title Case to tutorial page headings parts… (#18541)
jesCodingHere Oct 14, 2019
01a8354
fix(gatsby-cli): work around react-redux hidden dependency on react-d…
pieh Oct 14, 2019
868b44f
chore(release): Publish
sidharthachatterjee Oct 14, 2019
642aa83
chore(showcase): Add sagarhani.in to showcase (#18572)
sagarhani Oct 14, 2019
0a15260
chore(docs): Updated recipes to adhere to Gatsby style guide (#18560)
adibfirman Oct 14, 2019
4991c5b
chore(docs): style guide audit on docs beginning with `t` (#18367)
samrae7 Oct 14, 2019
574ce95
Update gatsby-repl.md (#18574)
akankshach29 Oct 14, 2019
31141f7
fix(docs): Update title casing (#18375)
ziel-ar Oct 14, 2019
d5f1006
chore(docs): Update pronouns in gatsby-cli (#18576)
akankshach29 Oct 14, 2019
7dd9208
chore(docs): Update pronouns in graphql-concepts (#18578)
akankshach29 Oct 14, 2019
277e86f
docs: Fix keywords for line highlighting in code blocks (#18196)
Oct 14, 2019
7cfc34c
chore: update gatsby monorepo (#18612)
renovate[bot] Oct 14, 2019
b694baa
chore(showcase): Add Vishal Nakum portfolio to Showcase (#18575)
Oct 14, 2019
851f33e
chore(showcase): Add nagakonada.com blogging site. (#18589)
Oct 14, 2019
6e6da89
chore(blog): fix typo'd sentence in blogpost (#18596)
Kilian Oct 14, 2019
f8641b5
Renovate Schedule (#18620)
fboechats Oct 14, 2019
f399e9e
fix(www): Fix showcase page category collapsible sidebar vertical ali…
imagentleman Oct 14, 2019
c3c1080
fix: update dependency gatsby to ^2.16.1 (#18617)
renovate[bot] Oct 14, 2019
e835a8d
give gatsby-theme cli to gatsby (#18442)
ChristopherBiscardi Oct 14, 2019
a9e800b
fix(www): Add bottom spacing to center the close button (#18556)
imagentleman Oct 14, 2019
33c3812
chore(starters): add Gatsby-TypeScript-Starter-Blog (#18513)
PABlond Oct 14, 2019
e1f3b50
chore(starters): Add luke-starter-gatsby (#18371)
lukethacoder Oct 14, 2019
af55648
chore(docs): Update Title Case in 'add-page-metadata.md' (#18616)
YzahFe Oct 14, 2019
7dbdfb5
chore(docs): Title Case Correction (#18623)
YzahFe Oct 14, 2019
70a1376
chore(docs): Use “you” as the pronoun (#18625)
dosden Oct 14, 2019
9ce5de0
chore(starters): add gatsby-starter-leaflet (#18580)
colbyfayock Oct 14, 2019
7c27782
chore(docs): Update asset-prefix to adhere to gatsby style gui… (#18618)
adibfirman Oct 14, 2019
d136090
chore(docs): Update title case (#18632)
dosden Oct 14, 2019
6eccd9c
chore(docs): Update We to You for Style Guide (#18619)
YzahFe Oct 14, 2019
91cb919
chore(docs): Update we to you (#18634)
dosden Oct 14, 2019
158856c
chore(docs): Update we to you (#18635)
YzahFe Oct 14, 2019
d87f4dc
chore(docs): Title Casing Correction (#18630)
dosden Oct 14, 2019
6886320
Use gatsbyjs fork of microbundle, which does not error for node versi…
madalynrose Oct 14, 2019
96a745c
chore(release): Publish
Oct 14, 2019
4745034
Delete junit.xml
KyleAMathews Oct 14, 2019
e207409
docs(peril): add README (#18648)
madalynrose Oct 14, 2019
e7c7dfc
fix(gatsby-plugin-fullstory): Update snippet (#18461)
Oct 14, 2019
6fd8ced
Fix title in Coming from React to Gatsby
sidharthachatterjee Oct 14, 2019
2365a62
chore(release): Publish
Oct 14, 2019
9bd308f
fix: update dependency gatsby-design-tokens to ~1.0.10 (#18647)
renovate[bot] Oct 14, 2019
768ceae
test(structured-logging): fix gatsby version in test site (#18645)
pieh Oct 14, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ jobs:
- e2e-test:
test_path: integration-tests/gatsby-pipeline

integration_tests_structured_logging:
executor: node
steps:
- e2e-test:
test_path: integration-tests/structured-logging

e2e_tests_path-prefix:
<<: *e2e-executor
environment:
Expand Down Expand Up @@ -327,6 +333,8 @@ workflows:
<<: *e2e-test-workflow
- integration_tests_gatsby_pipeline:
<<: *e2e-test-workflow
- integration_tests_structured_logging:
<<: *e2e-test-workflow
- e2e_tests_path-prefix:
<<: *e2e-test-workflow
- e2e_tests_gatsby-image:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Gatsby is a modern web framework for blazing fast websites.
- [Migration Guides](#-migration-guides)
- [How to Contribute](#-how-to-contribute)
- [License](#memo-license)
- [Thanks to Our Contributors and Sponsors](#-thanks-to-our-contributors-and-sponsors)
- [Thanks to Our Contributors and Sponsors](#-thanks)

## 🚀 Get Up and Running in 5 Minutes

Expand Down
150 changes: 75 additions & 75 deletions docs/blog/2017-07-19-creating-a-blog-with-gatsby/index.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/blog/2017-09-26-embracing-graphql/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ There were a few bumps into the road but thanks to the starter example, I pieced
things together quickly. Quickly as in “I have no idea how this GraphQL stuff
works, but I have it working, so cool”. Easy to update — check.

## Digging Deeper
## Digging deeper

I'm not the type of person to settle on “It's working so don't touch anything”.
So I started digging into how Gatsby 1.x works—particular the
Expand Down
4 changes: 2 additions & 2 deletions docs/blog/2018-04-06-introducing-gatsby-rfc-process/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ Inspired by [React](https://github.com/reactjs/rfcs), [Yarn](https://github.com/

RFCs are accepted when they are approved for implementation in Gatsby. A more thorough description of the process is available in the repository's [README](https://github.com/gatsbyjs/rfcs/blob/master/README.md). The exact details may be refined in the future.

## Who Can Submit RFCs?
## Who can submit RFCs?

Anyone! No knowledge of Gatsby's internals is required, nor are you expected to implement the proposal yourself.

## What Types of Changes Should Be Submitted As RFCs?
## What types of changes should be submitted as RFCs?

Generally, any idea that would benefit from additional review or design before being implemented is a good candidate for an RFC. As a rule of thumb, this means any proposal that adds, changes, or removes a Gatsby API.

Expand Down
10 changes: 5 additions & 5 deletions docs/blog/2019-04-29-component-shadowing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Component Shadowing let's you replace the theme's original file,
`gatsby-theme-blog/src/components/bio.js`, with your own to implement any changes you
need.

## Shadowing Example
## Shadowing example

If you've installed `gatsby-theme-blog` you'll notice that it renders a
[`Bio` component](https://github.com/gatsbyjs/gatsby/blob/666a9bc3c8d91be8a3118b1128340a06e895735e/themes/gatsby-theme-blog/src/components/bio.js)
Expand All @@ -51,7 +51,7 @@ gatsby-theme-blog
└── typography.js
```

### Customizing the `Bio` Component
### Customizing the `Bio` component

Component Shadowing uses a naming convention to determine which component will be rendered.
In order to override the `Bio` component in `gatsby-theme-blog`, create a file named
Expand Down Expand Up @@ -87,7 +87,7 @@ even layer in new functionality.
**Note**: In the future we'll publish a technical post that will dive into the internals
of Component Shadowing.

## Changing Styling
## Changing styling

Component Shadowing isn't restricted to React components; you can override any
JavaScript, Markdown, MDX, or CSS file. For example, `gatsby-theme-blog` has a
Expand Down Expand Up @@ -123,7 +123,7 @@ user-site
Now, blue and red will have your custom values and will be reflected in the theme wherever
`theme.colors.blue` and `theme.colors.red` are used.

#### How Much Shadowing is too Much Shadowing?
#### How much shadowing is too much shadowing?

If you've found yourself shadowing a large amount of components in a particular theme it
might make sense to use a fork instead.
Expand All @@ -140,7 +140,7 @@ Component Shadowing is a powerful feature for making one-off changes to a theme
need for complex configuration or maintaining a fork of the code. It's a stable feature in
Gatsby Themes and is currently being used in production.

## Further Reading
## Further reading

- [Component Shadowing Documentation](/docs/themes/api-reference/#component-shadowing)
- [Latent Component Shadowing](https://johno.com/latent-component-shadowing)
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
title: Speed up your time to interactive by delaying third party scripts
date: 2019-10-12
author: Kilian Valkhof
excerpt: "Delay loading scripts to lower your time to interactive by over 60%"
tags:
- performance
- seo
---

Gatsby does many things to get a website visible as fast as possible. But getting a website visible isn't the only interesting metric. There are others that, if you're not careful, can easily take much longer than needed. Even if your site still feels fast.

The metric this article focuses on is "[Time to interactive](https://developers.google.com/web/tools/lighthouse/audits/time-to-interactive)", which is the time it takes for all your initial scripts to run. This one is particularly interesting for a couple of reasons:

- It's not super noticeable when you use a website on desktop
- Scripts loaded asynchronously are counted towards this number (even though they're async, they're still loaded in sequence after a page load)
- It's a very important part of [Google's performance ranking](https://github.com/GoogleChrome/lighthouse/blob/master/docs/scoring.md). Because of the user impact, it's 5 times more important than the "[first meaningful paint](https://developers.google.com/web/tools/lighthouse/audits/first-meaningful-paint)", e.g. when something shows up on the screen. **5 times!**

These together might mean that you have a website that _feels_ fast under some circumstances, but Google will give you a penalty because it's slow.

To get an overview of how your site scores, you can use Lighthouse, either in your Chrome developer tools by going to the "Audits" tab, or by going to [web.dev](https://web.dev/measure). Lighthouse will test your site on a number of different metrics, such as accessibility, SEO (Search Engine Optimization), and best practices, but the one we're interested in is "performance".

## The performance metric

While the other metrics are also important, the scope of this article is on performance. By default, a Gatsby site will easily get a score in the 90s (out of 100), but this can quickly become lower as you add more scripts to the page, especially third party scripts.

Harry from [marketingexamples.com](https://marketingexamples.com/) linked me to a recent post of his on [SEO performance](https://marketingexamples.com/seo/performance) that mentioned the "Time to interactive" scoring and I decided to take another look at my website for [Polypane](https://polypane.rocks). I had checked it in the past and it had a good (90+) score, but I was pretty shocked when it came back and suddenly had a score of 63!

When looking at the performance data, the site's first meaningful paint took slightly over a second, but the time to interactive was _eleven seconds_. Yikes!

The reason for this was that I recently switched to [Segment](https://segment.com) (using [gatsby-plugin-segment-js](//packages/gatsby-plugin-segment-js/)) and was loading other scripts through that, like support chat and analytics. These scripts all counted towards my "time to interactive".

The SEO performance post included a tip from Dave of [ToDesktop](https://www.todesktop.com/) who has similar problems. His tip: Prevent loading the scripts until after a user has scrolled, along with some timeout to prevent [scroll jank](http://jankfree.org/).

By adding a timeout, your "Time to interactive" won't take these scripts into account. The user won't need your support widget in the first second of a page anyway, so this works well for everyone.. With any upside, there is always a downside: your [bounce rate](https://support.google.com/analytics/answer/1009409?hl=en) will become less accurate as the people that open your site, don't scroll and leave will never show up in your analytics.

Wanting to improve the performance rating of my own site, I forked the [gatsby-plugin-segment-js](https://github.com/Kilian/gatsby-plugin-segment-js) repository and set to work.

## Updating gatsby-plugin-segment-js

The way this solution works is as follows:

- Wait for the user to scroll
- Do a setTimeout for 1 second
- Wrap the call in a [requestIdleCallback](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback), if available
- Then load the script

Adding the scroll timeout as mentioned in the Marketing examples blog post was quickly done. In Gatsby however, all subsequent pages are loaded without a page refresh. This meant that potentially, people could click through your site, never scroll, and the plugin would never get loaded. To make the technique work for Gatsby, the script also needed to load onRouteChange.

This led to an interesting set of requirements:

- The scripts should load only once
- They should load either after a scroll action, or after a page update
- To prevent jank there is a time delay before the load actually happens

Due to this time delay, it could happen that you load a new page, the countdown starts, and during this countdown, you also scroll. At that point in time, the scripts haven't loaded yet so the scroll event listener would _also_ trigger a new load.

To work around this, I added two locks to the Gatsby plugin:

- `segmentSnippetLoaded`, `false` by default and set to `true` after it's loaded.
- `segmentSnippetLoading`, `true` only between when the load function has been called and when it has finished.

Then, either on `scroll` or `onRouteChange`, we only call the load function if `segmentSnippetLoaded` is not true, and in the load function, we only continue if `segmentSnippetLoading` is not true. This prevents the function from being called at all after the first time the script has been loaded. If the function is called twice but we're still in the countdown time, nothing happens.

After implementing this on my own website, my performance score shot back up from 63 to 94 and I had an over 60% decrease in the time to interactive. Pretty good for a few lines of code.

There is currently a [PR](https://github.com/benjaminhoffman/gatsby-plugin-segment-js/pull/19) open to add a `delayLoad` option to gatsby-plugin-segment-js to enable this feature. Alternatively, you can build it from [my fork](https://github.com/Kilian/gatsby-plugin-segment-js).

## In closing

If you work on a laptop or desktop with a good internet connection, the Time to Interactive is not so noticable as "time before you see something on your screen", but it can have a big impact on your performance rating and interactivity, and because of that, your SEO. You should be extra careful when adding third party scripts to your page, and the best way to do that is to run Google Lighthouse. If you notice your Gatsby site has a bad performance score, make sure to check the Time to Interactive value. If it's very high, try loading scripts only after a user has interacted with your website.
4 changes: 4 additions & 0 deletions docs/blog/author.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -353,3 +353,7 @@
- id: Maddie Wolf
bio: Podcast listener. Puzzle doer. Dog stalker. Will explode if I don’t pet every dog I see.
avatar: avatars/maddie-wolf.jpeg
- id: Kilian Valkhof
bio: Creates tools that make designers & developers better at what they do. Polypane.rocks and Superposition.design | @kilianvalkhof | https://kilianvalkhof.com/
avatar: avatars/kilian-valkhof.jpg
twitter: "@kilianvalkhof"
Binary file added docs/blog/avatars/kilian-valkhof.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/contributing/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ size, disability, ethnicity, gender identity and expression, level of
experience, nationality, personal appearance, race, religion, or sexual identity
and orientation.

[Read full code of conduct](/contributing/code-of-conduct/)
[Read the full code of conduct](/contributing/code-of-conduct/)

## Ways to Contribute

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/contributor-swag.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To show our appreciation, _**everyone who contributes to Gatsby is eligible to r

### How to claim your free swag

If you contribute to the Gatsby org on GitHub, you can claim your swag by [logging into the Gatsby Store](https://store.gatsbyjs.org/) and requesting a discount code. With five or more contributions, you can claim your _**Level 2**_ swag.
If you contribute to the Gatsby organization on GitHub, you can claim your swag by [logging into the Gatsby Store](https://store.gatsbyjs.org/) and requesting a discount code. With five or more contributions, you can claim your _**Level 2**_ swag.

If you’ve contributed in other ways, such as giving talks about Gatsby, teaching others to use it, writing Gatsby articles/tutorials, participating in a Gatsby research project, or any other way, please email <mailto:marketing@gatsbyjs.com> or [tweet at Gatsby on Twitter](https://twitter.com/gatsbyjs) to claim your swag.

Expand Down
8 changes: 4 additions & 4 deletions docs/contributing/gatsby-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,11 @@ alert(s)

#### Code formatting: Line highlighting

You may also choose to include line highlighting in your code snippets, using the following keywords inline in the snippet:
You may also choose to include line highlighting in your code snippets, using the following keywords as comments inline in the snippet:

##### `highlight-line`: highlights the current line

````
````no-highlight
```javascript:title=gatsby-config.js
module.exports = {
siteMetadata: {
Expand All @@ -293,7 +293,7 @@ module.exports = {

##### `highlight-next-line`: highlights the next line

````
````no-highlight
```javascript:title=gatsby-config.js
module.exports = {
siteMetadata: {
Expand All @@ -317,7 +317,7 @@ module.exports = {

##### `highlight-start` & `highlight-end`: highlights a range

````
````no-highlight
```javascript:title=gatsby-config.js
module.exports = {
// highlight-start
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/how-to-pitch-gatsby.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ Build blazing-fast websites without the hosting hassles of managing complex, cos

- **Secure:** Gatsby websites are inherently more secure because there are no servers involved. All your content is compiled ahead of time so hackers can’t get to your database or into your CMS. And your site is more resilient to DDoS attacks because the biggest point of failure — a server — is no longer part of the equation.

Want more? Check out this blog post from Linda Watkins, our inimitable marketing director, on why she loves Gatsby (including a one-page overview for you to share): https://www.gatsbyjs.org/blog/2018-06-08-gatsby-marketers-managers-agencies-teams/
Want more? Check out this [blog post from Linda Watkins](/blog/2018-06-08-gatsby-marketers-managers-agencies-teams/), Gatsby's inimitable marketing director, on why she loves Gatsby (including a one-page overview for you to share).
2 changes: 1 addition & 1 deletion docs/contributing/managing-pull-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ In situations like this, testing the change locally can be very valuable.

> 💡 In case this is the first time you're doing this, you might have to [set up your development environment](/contributing/setting-up-your-local-dev-environment).

Testing out unpublished packages locally can be tricky. We have just the tool to make that easy for you.
Testing out unpublished packages locally can be tricky. We have just the tool to make that easy.

Say hello to your new best friend, `gatsby-dev-cli`.

Expand Down
1 change: 1 addition & 0 deletions docs/contributing/setting-up-your-local-dev-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Yarn is a package manager for your code, similar to [NPM](https://www.npmjs.com/

## Gatsby repo install instructions

- Ensure you have the latest version of Node installed (>= 10.16.0). `node --version`
- [Install](https://yarnpkg.com/en/docs/install) the Yarn package manager.
- Ensure you have the latest version of Yarn installed (>= 1.0.2). `yarn --version`
- Fork the [official repository](https://github.com/gatsbyjs/gatsby).
Expand Down
10 changes: 9 additions & 1 deletion docs/creators/creators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
- name: Adaltas
type: company
description: >-
Adaltas is a team of consultants with a focus on Open Source, Big Data and
Adaltas is a team of consultants with a focus on Open Source, Big Data and
distributed systems based in France, Canada and Morocco. Our core expertises include
Data Engineering, Data Science, DevOps, Cloud Computing and Web technologies.
location: France
Expand Down Expand Up @@ -413,6 +413,14 @@
image: images/desarol.png
for_hire: true
hiring: true
- name: AJonP
type: company
image: images/ajonp.png
description: >-
A Community of developers, creating resources for all to use!
location: United States
website: https://ajonp.com
github: https://github.com/AJONPLLC
- name: Arvind Kumar
type: individual
description: >-
Expand Down
Binary file added docs/creators/images/ajonp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/docs/add-404-page.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Adding a 404 Page"
title: Adding a 404 Page
---

To create a 404 page create a page whose path matches the regex
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/add-a-manifest-file.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Add a Manifest File
title: Adding a Manifest File
---

If you've run an [audit with Lighthouse](/docs/audit-with-lighthouse/), you may have noticed a lackluster score in the "Progressive Web App" category. Let's address how you can improve that score.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/add-a-service-worker.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Add a Service Worker
title: Adding a Service Worker
---

## What is a service worker
Expand Down
18 changes: 9 additions & 9 deletions docs/docs/add-custom-webpack-config.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "Adding a Custom webpack Config"
title: "Adding a Custom Webpack Config"
---

_Before creating custom webpack configuration, check to see if there's a Gatsby
plugin already built that handles your use case in the
[plugins section](/docs/plugins/). If there's not yet one and your use case is a
general one, we highly encourage you to contribute back your plugin to the
Gatsby Plugin Library so it's available to others (including your future self 😀)._
general one, it is highly encouraged you to contribute back your plugin to the
Gatsby Plugin Library so it's available to others (including your future self)._

To add custom webpack configurations, create (if there's not one already) a
`gatsby-node.js` file in your root directory. Inside this file, export a
Expand All @@ -16,15 +16,15 @@ When Gatsby creates its webpack config, this function will be called allowing
you to modify the default webpack config using
[webpack-merge](https://github.com/survivejs/webpack-merge).

Gatsby does multiple webpack builds with somewhat different configuration. We
call each build type a "stage". The following stages exist:
Gatsby does multiple webpack builds with somewhat different configuration. Gatsby
calls each build type a "stage". The following stages exist:

1. develop: when running the `gatsby develop` command. Has configuration for hot
reloading and CSS injection into page
2. develop-html: same as develop but without react-hmre in the babel config for
rendering the HTML component.
3. build-javascript: production JavaScript and CSS build. Creates route JS bundles as well
as commons chunks for JS and CSS.
as common chunks for JS and CSS.
4. build-html: production build static HTML pages

Check
Expand Down Expand Up @@ -54,8 +54,8 @@ exports.onCreateWebpackConfig = ({
{
test: /\.less$/,
use: [
// We don't need to add the matching ExtractText plugin
// because gatsby already includes it and makes sure its only
// You don't need to add the matching ExtractText plugin
// because gatsby already includes it and makes sure it's only
// run at the appropriate stages, e.g. not in development
loaders.miniCssExtract(),
loaders.css({ importLoaders: 1 }),
Expand Down Expand Up @@ -92,7 +92,7 @@ exports.onCreateWebpackConfig = ({ stage, actions }) => {

You can always find more information on _resolve_ and other options in the official [Webpack docs](https://webpack.js.org/concepts/).

### Modifying the babel loader
### Modifying the Babel loader

You need this if you want to do things like transpile parts of `node_modules`.

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/add-offline-support-with-a-service-worker.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Add Offline Support with a Service Worker
title: Adding Offline Support with a Service Worker
---

If you've run an [audit with Lighthouse](/docs/audit-with-lighthouse/), you may have noticed a lackluster score in the "Progressive Web App" category. Let's address how you can improve that score.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/add-page-metadata.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Adding page metadata
title: Adding Page Metadata
---

If you've run an [audit with Lighthouse](/docs/audit-with-lighthouse/), you may have noticed a lackluster score in the "SEO" category. Let's address how you can improve that score.
Expand Down
Loading