Skip to content

Commit

Permalink
chore(docs): Fix typo in createPages doc (#30343)
Browse files Browse the repository at this point in the history
The action is `createPage` and not `createPages`.

Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
  • Loading branch information
Elendev and gatsbybot authored Mar 22, 2021
1 parent bfee5c4 commit 53a9d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/utils/api-node-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const resolvableExtensions = true
*
* @param {object} $0 See the [documentation for `Node API Helpers` for more details](/docs/node-api-helpers)
* @param {Actions} $0.actions See the [list of documented actions](/docs/actions)
* @param {function} $0.actions.createPages [Documentation for this action](/docs/actions/#createPage)
* @param {function} $0.actions.createPage [Documentation for this action](/docs/actions/#createPage)
* @param {function} $0.graphql: Query GraphQL API. See [examples here](/docs/creating-and-modifying-pages/#creating-pages-in-gatsby-nodejs)
* @param {GatsbyReporter} $0.reporter Log issues. See [GatsbyReporter documentation](/docs/node-api-helpers/#GatsbyReporter) for more details
* @returns {Promise<void>} No return value required, but the caller will `await` any promise that's returned
Expand Down

0 comments on commit 53a9d5e

Please sign in to comment.