Skip to content

Commit 9db8b00

Browse files
keegan-lilloAisha Blake
and
Aisha Blake
authored
fix(gatsby-source-filesystem) Clarify createFilePath docs (#26770)
* fix(gatsby-source-filesystem) Clarify createFilePath docs Fixes: #26470 * Update README.md Co-authored-by: Aisha Blake <[email protected]>
1 parent 05474e3 commit 9db8b00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/gatsby-source-filesystem/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ createFilePath({
119119
// The parameter from `onCreateNode` should be passed in here
120120
getNode,
121121
// The base path for your files.
122+
// It is relative to the `options.path` setting in the `gatsby-source-filesystem` entries of your `gatsby-config.js`.
122123
// Defaults to `src/pages`. For the example above, you'd use `src/content`.
123124
basePath,
124125
// Whether you want your file paths to contain a trailing `/` slash

0 commit comments

Comments
 (0)