From bc1b4abcc9697b453fb892741f6fb295ae656492 Mon Sep 17 00:00:00 2001 From: Tyler Barnes Date: Fri, 11 Feb 2022 11:50:26 -0800 Subject: [PATCH] add docs link --- .../gatsby-cli/src/structured-errors/error-map.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/gatsby-cli/src/structured-errors/error-map.ts b/packages/gatsby-cli/src/structured-errors/error-map.ts index 2623a4c8b89a3..069bd571b48fb 100644 --- a/packages/gatsby-cli/src/structured-errors/error-map.ts +++ b/packages/gatsby-cli/src/structured-errors/error-map.ts @@ -627,41 +627,37 @@ const errors = { /** Node Manifest warnings */ "11801": { - // @todo add docs link to "using Preview" once it's updated with an explanation of ownerNodeId text: ({ inputManifest }): string => `${getSharedNodeManifestWarning( inputManifest )} but Gatsby couldn't find a page for this node. - If you want a manifest to be created for this node (for previews or other purposes), ensure that a page was created (and that a ownerNodeId is added to createPage() if you're not using the Filesystem Route API).\n`, + If you want a manifest to be created for this node (for previews or other purposes), ensure that a page was created (and that a ownerNodeId is added to createPage() if you're not using the Filesystem Route API). See https://www.gatsbyjs.com/docs/conceptual/content-sync for more info.\n`, level: Level.WARNING, category: ErrorCategory.USER, }, "11802": { - // @todo add docs link to "using Preview" once it's updated with an explanation of ownerNodeId text: ({ inputManifest, pagePath }): string => `${getSharedNodeManifestWarning( inputManifest - )} but Gatsby didn't find an ownerNodeId for the page at ${pagePath}\nUsing the first page that was found with the node manifest id set in pageContext.id in createPage().\nThis may result in an inaccurate node manifest (for previews or other purposes).`, + )} but Gatsby didn't find an ownerNodeId for the page at ${pagePath}\nUsing the first page that was found with the node manifest id set in pageContext.id in createPage().\nThis may result in an inaccurate node manifest (for previews or other purposes). See https://www.gatsbyjs.com/docs/conceptual/content-sync for more info.`, level: Level.WARNING, category: ErrorCategory.USER, }, "11805": { - // @todo add docs link to "using Preview" once it's updated with an explanation of ownerNodeId text: ({ inputManifest, pagePath }): string => `${getSharedNodeManifestWarning( inputManifest - )} but Gatsby didn't find an ownerNodeId for the page at ${pagePath}\nUsing the first page that was found with the node manifest id set in pageContext.slug in createPage().\nThis may result in an inaccurate node manifest (for previews or other purposes).`, + )} but Gatsby didn't find an ownerNodeId for the page at ${pagePath}\nUsing the first page that was found with the node manifest id set in pageContext.slug in createPage().\nThis may result in an inaccurate node manifest (for previews or other purposes). See https://www.gatsbyjs.com/docs/conceptual/content-sync for more info.`, level: Level.WARNING, category: ErrorCategory.USER, }, "11803": { - // @todo add docs link to "using Preview" once it's updated with an explanation of ownerNodeId text: ({ inputManifest, pagePath }): string => `${getSharedNodeManifestWarning( inputManifest - )} but Gatsby didn't find an ownerNodeId for the page at ${pagePath}\nUsing the first page where this node is queried.\nThis may result in an inaccurate node manifest (for previews or other purposes).`, + )} but Gatsby didn't find an ownerNodeId for the page at ${pagePath}\nUsing the first page where this node is queried.\nThis may result in an inaccurate node manifest (for previews or other purposes). See https://www.gatsbyjs.com/docs/conceptual/content-sync for more info.`, level: Level.WARNING, category: ErrorCategory.USER, },