Skip to content

Commit 2730d0f

Browse files
committed
chore: support Gatsby v3
1 parent b1669c9 commit 2730d0f

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
- Features:
88

9+
- Gatsby v3 support
10+
- Gatsby Cloud support
911
- MDX support
1012
- Script `gatsby-source-google-docs-token` for token generation
11-
- Gatsby Cloud support
1213
- Crosslinks between documents
1314
- Related content
1415
- Metadata from YAML Google Drive descriptions
15-
- Shared drives support
1616

1717
- Formats
1818

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535

3636
- **Google Docs** formatting options (headings, bullets, tables, images...)
3737
- `MDX` support to use `<ReactComponents />` in your documents
38-
- `gatsby-image` support
38+
- **Gatsby** v3 & v2 support
39+
- `gatsby-plugin-image` and `gatsby-image` support
3940
- Code blocs support
4041
- **Gatsby Cloud** support
4142
- Slug generation from **Google Drive** tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
},
5656
"peerDependencies": {
5757
"dotenv": "^8.2.0",
58-
"gatsby": "^2.0.0"
58+
"gatsby": "^2.0.0 || ^3.0.0"
5959
},
6060
"bin": {
6161
"gatsby-source-google-docs-token": "./utils/generate-token.js"

utils/create-schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports.createSchema = ({actions}) => {
44
type Cover {
55
title: String
66
alt: String
7-
image: File
7+
image: File @link(by: "id", from: "image___NODE")
88
}
99
1010
type BreadcrumbItem {

0 commit comments

Comments
 (0)