From 6cac9d2f76699ab627949d921d06b03bbb499541 Mon Sep 17 00:00:00 2001 From: Chuck Reynolds Date: Sun, 15 May 2022 19:24:08 -0700 Subject: [PATCH] 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 --- packages/gatsby-plugin-sitemap/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-plugin-sitemap/README.md b/packages/gatsby-plugin-sitemap/README.md index 2ad35c13484da..85976a381439e 100644 --- a/packages/gatsby-plugin-sitemap/README.md +++ b/packages/gatsby-plugin-sitemap/README.md @@ -192,7 +192,7 @@ allPages.filter( | Param | Type | Description | | ------------- | ------------------- | ----------------------------------------------------------------------------------- | | page | object | | -| excludedRoute | string | Element from `exclude` Array in plugin config. | +| excludedRoute | string | Element from `excludes` Array in plugin config | | tools | object | contains tools for filtering `{ minimatch, withoutTrailingSlash, resolvePagePath }` |