diff --git a/docs/_content/data-source/tutorial-setup.md b/docs/_content/data-source/tutorial-setup.md index 11a5474..f619d17 100644 --- a/docs/_content/data-source/tutorial-setup.md +++ b/docs/_content/data-source/tutorial-setup.md @@ -71,7 +71,7 @@ Open `src/index.js` and update the context: /* * For more information on the main data source object, see - * https://ibm.biz/graphql-data-source-main + * https://gramps.js.org/api/gramps/#gramps */ export default { - // TODO: Rename the context to describe the data source. diff --git a/docs/_content/errors/formatError.md b/docs/_content/errors/formatError.md index b48290d..5d14afa 100644 --- a/docs/_content/errors/formatError.md +++ b/docs/_content/errors/formatError.md @@ -51,7 +51,7 @@ Description: Could not load the given xkcd comic Error Code: XKCDModel_Error GraphQL Model: XKCDModel Target Endpoint: https://xkcd.com/2000/info.0.json -Documentation: https://ibm.biz/gramps-data-source-tutorial +Documentation: https://xkcd.com/json.html Data: { "id": "2000" } diff --git a/src/lib/externalDataSources.js b/src/lib/externalDataSources.js index 17a0700..89d31c5 100644 --- a/src/lib/externalDataSources.js +++ b/src/lib/externalDataSources.js @@ -59,7 +59,8 @@ const warnInProduction = ({ sources, logger }) => { '', ` External source(s): ${externalSources.join(', ')}`, '', - ' See https://ibm.biz/gramps-data-source-tutorial for details.', + ' For details, see:', + ' https://gramps.js.org/data-source/data-source-overview/', '======================================================================', ].join(EOL); @@ -92,7 +93,7 @@ const warnForOverrides = ({ overrides, logger }) => { const message = [ EOL, - `========================= WARNING ==========================`, + `============================ WARNING =============================`, ` Existing data sources have been overridden by`, ` development-only data sources. This WILL NOT work`, ` in production environments.`, @@ -100,8 +101,9 @@ const warnForOverrides = ({ overrides, logger }) => { ` These data sources are running in dev-only mode:`, ` - ${overrides.join(`${EOL} - `)}`, ``, - ` Details: https://ibm.biz/graphql-data-source`, - `============================================================`, + ` Details: `, + ` https://gramps.js.org/data-source/data-source-overview/`, + `==================================================================`, EOL, ];