-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
newrelic/gatsby-theme-newrelic
#383Labels
buga bug or issuea bug or issueengissues related to site functionality that requires engineeringissues related to site functionality that requires engineering
Milestone
Description
Description
GTS uses a search tool to allow our support engineers to search multiple content sources at once. The tool was able to index Product Docs using the sitemap here: https://docs.newrelic.com/sitemap.xml/ but that appears to be gone now.
We likely need to update https://www.gatsbyjs.com/plugins/gatsby-plugin-sitemap/ . Complicating things, it seems like there are some issues with Gatsby sitemaps in general: gatsbyjs/gatsby#31095
Expected
It seems like our current config for the sitemap is broken and doesn't generate the sitemap at https://docs.newrelic.com/sitemap/sitemap-index.xml
Eng work
- add gatsby-plugin-sitemap gatsby-plugin-sitemap
outputoption to themegatsby-config.jsto explicitly set file path. - ensure the
<link rel="sitemap" />in<head>has the correcthreffor the path we set. - ensure / update swiftype UI and google search console have correct sitemap path
- bump all sites to use theme version this is deployed in
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buga bug or issuea bug or issueengissues related to site functionality that requires engineeringissues related to site functionality that requires engineering