Skip to content

Commit 6cac9d2

Browse files
sitemap plugin readme has incorrect array name reference (#35659)
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
1 parent 15a3fbf commit 6cac9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby-plugin-sitemap/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ allPages.filter(
192192
| Param | Type | Description |
193193
| ------------- | ------------------- | ----------------------------------------------------------------------------------- |
194194
| page | <code>object</code> | |
195-
| excludedRoute | <code>string</code> | Element from `exclude` Array in plugin config. |
195+
| excludedRoute | <code>string</code> | Element from `excludes` Array in plugin config |
196196
| tools | <code>object</code> | contains tools for filtering `{ minimatch, withoutTrailingSlash, resolvePagePath }` |
197197

198198
<a id="serialize"></a>

0 commit comments

Comments
 (0)