Skip to content

Commit

Permalink
sitemap plugin readme has incorrect array name reference (#35659)
Browse files Browse the repository at this point in the history
array name ref incorrect in sitemap plugin

In the Sitemap plugin; the `excludedRoute` param for filterPages says "Element from `exclude` Array"... it should say `excludes`.
And remove period at the end of that as I don't see others with one
  • Loading branch information
chuckreynolds committed May 16, 2022
1 parent 15a3fbf commit 6cac9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-sitemap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ allPages.filter(
| Param | Type | Description |
| ------------- | ------------------- | ----------------------------------------------------------------------------------- |
| page | <code>object</code> | |
| excludedRoute | <code>string</code> | Element from `exclude` Array in plugin config. |
| excludedRoute | <code>string</code> | Element from `excludes` Array in plugin config |
| tools | <code>object</code> | contains tools for filtering `{ minimatch, withoutTrailingSlash, resolvePagePath }` |

<a id="serialize"></a>
Expand Down

0 comments on commit 6cac9d2

Please sign in to comment.