Skip to content

Commit 5cb1213

Browse files
authored
Merge pull request #1 from gatsbyjs/master
merge gatsby/master
2 parents 5f50317 + d707546 commit 5cb1213

File tree

6 files changed

+28
-5
lines changed

6 files changed

+28
-5
lines changed

docs/tutorial/part-seven/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ exports.onCreateNode = ({ node }) => {
6262
```
6363

6464
You want to use each markdown file name to create the page slug. So
65-
`pandas-and-bananas.md"` will become `/pandas-and-bananas/`. But how do you get
65+
`pandas-and-bananas.md` will become `/pandas-and-bananas/`. But how do you get
6666
the file name from the `MarkdownRemark` node? To get it, you need to _traverse_
6767
the "node graph" to its _parent_ `File` node, as `File` nodes contain data you
6868
need about files on disk. To do that, modify your function again:
@@ -187,7 +187,7 @@ exports.createPages = ({ graphql, actions }) => {
187187
```
188188

189189
You've added an implementation of the
190-
[`createPages`](/docs/node-apis/#createPages) API which API Gatsby calls so plugins can add
190+
[`createPages`](/docs/node-apis/#createPages) API which Gatsby calls so plugins can add
191191
pages.
192192

193193
As mentioned in the intro to this part of the tutorial, the steps to programmatically creating pages are:

packages/gatsby-source-contentful/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
<a name="2.0.1-beta.6"></a>
7+
## [2.0.1-beta.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-contentful/compare/[email protected]@2.0.1-beta.6) (2018-06-23)
8+
9+
**Note:** Version bump only for package gatsby-source-contentful
10+
11+
12+
13+
14+
615
<a name="2.0.1-beta.5"></a>
716
## [2.0.1-beta.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-contentful/compare/[email protected]@2.0.1-beta.5) (2018-06-21)
817

packages/gatsby-source-contentful/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gatsby-source-contentful",
33
"description": "Gatsby source plugin for building websites using the Contentful CMS as a data source",
4-
"version": "2.0.1-beta.5",
4+
"version": "2.0.1-beta.6",
55
"author": "Marcus Ericsson <[email protected]> (mericsson.com)",
66
"bugs": {
77
"url": "https://github.com/gatsbyjs/gatsby/issues"

packages/gatsby-transformer-react-docgen/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
<a name="2.1.1-beta.3"></a>
7+
## [2.1.1-beta.3](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-react-docgen/compare/gatsby-transformer-react-docgen@[email protected]) (2018-06-23)
8+
9+
**Note:** Version bump only for package gatsby-transformer-react-docgen
10+
11+
12+
13+
14+
615
<a name="2.1.1-beta.2"></a>
716
## [2.1.1-beta.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-react-docgen/compare/gatsby-transformer-react-docgen@[email protected]) (2018-06-20)
817

packages/gatsby-transformer-react-docgen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gatsby-transformer-react-docgen",
33
"description": "Expose React component metadata and prop information as GraphQL types",
4-
"version": "2.1.1-beta.2",
4+
"version": "2.1.1-beta.3",
55
"author": "Jason Quense <[email protected]>",
66
"bugs": {
77
"url": "https://github.com/gatsbyjs/gatsby/issues"

www/src/html.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export default class HTML extends React.Component {
66
return (
77
<html {...this.props.htmlAttributes}>
88
<head>
9+
<link
10+
rel="preload"
11+
href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"
12+
as="style"
13+
/>
914
<link
1015
rel="preload"
1116
href="/static/ftn45-webfont.c2439033.woff2"
@@ -54,7 +59,7 @@ export default class HTML extends React.Component {
5459
color={colors.gatsby}
5560
/>
5661
<meta name="msapplication-config" content={`/browserconfig.xml`} />
57-
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js" />
62+
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js" defer />
5863
</head>
5964
<body {...this.props.bodyAttributes}>
6065
<div

0 commit comments

Comments
 (0)