From 8bb48fd9732bf41046950dcbb47ff90b752ab247 Mon Sep 17 00:00:00 2001 From: ajayns Date: Sat, 28 Apr 2018 09:47:51 +0530 Subject: [PATCH 1/2] Update createRemoteFileNode documentation --- packages/gatsby-source-filesystem/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/gatsby-source-filesystem/README.md b/packages/gatsby-source-filesystem/README.md index 233cfad304160..1d0c955e93556 100644 --- a/packages/gatsby-source-filesystem/README.md +++ b/packages/gatsby-source-filesystem/README.md @@ -175,3 +175,5 @@ exports.downloadMediaFiles = ({ nodes, store, cache, createNode, _auth }) => { }); }; ``` + +Your file node can then be queried using a transformer or source plugin as shown in this [use case](https://www.gatsbyjs.org/packages/gatsby-source-wordpress/?=wordpres#image-processing) in `gatsby-source-wordpress`. Here downloaded images are retrieved for use in required specifications using `gatsby-transformer-sharp`. \ No newline at end of file From afa5d8f81eeb94ee2a20fad448a43e8e639875b5 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Sat, 28 Apr 2018 09:36:42 -0600 Subject: [PATCH 2/2] Update README.md --- packages/gatsby-source-filesystem/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-source-filesystem/README.md b/packages/gatsby-source-filesystem/README.md index 1d0c955e93556..90251fbc60952 100644 --- a/packages/gatsby-source-filesystem/README.md +++ b/packages/gatsby-source-filesystem/README.md @@ -176,4 +176,4 @@ exports.downloadMediaFiles = ({ nodes, store, cache, createNode, _auth }) => { }; ``` -Your file node can then be queried using a transformer or source plugin as shown in this [use case](https://www.gatsbyjs.org/packages/gatsby-source-wordpress/?=wordpres#image-processing) in `gatsby-source-wordpress`. Here downloaded images are retrieved for use in required specifications using `gatsby-transformer-sharp`. \ No newline at end of file +The file node can then be queried using GraphQL. See an example of this in the [gatsby-source-wordpress README](/packages/gatsby-source-wordpress/#image-processing) where downloaded images are queried using [gatsby-transformer-sharp](/packages/gatsby-transformer-sharp/) to use in the component [gatsby-image](/packages/gatsby-image/).