From 14e5ae93b3ba21e6f4c1a379164b20608f7cc1c2 Mon Sep 17 00:00:00 2001 From: Aileen Nowak Date: Thu, 25 Jul 2019 15:17:23 +0800 Subject: [PATCH] Updated docs api links to be version-less --- ghost/package-json/lib/parse.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/package-json/lib/parse.js b/ghost/package-json/lib/parse.js index 47b55b50f1..7b0454bf9e 100644 --- a/ghost/package-json/lib/parse.js +++ b/ghost/package-json/lib/parse.js @@ -30,7 +30,7 @@ function parsePackageJson(path) { if (!hasRequiredKeys) { err = new Error(common.i18n.t('errors.utils.parsepackagejson.nameOrVersionMissing')); err.context = path; - err.help = common.i18n.t('errors.utils.parsepackagejson.willBeRequired', {url: 'https://ghost.org/docs/api/v2/handlebars-themes/'}); + err.help = common.i18n.t('errors.utils.parsepackagejson.willBeRequired', {url: 'https://ghost.org/docs/api/handlebars-themes/'}); return Promise.reject(err); } @@ -39,7 +39,7 @@ function parsePackageJson(path) { } catch (parseError) { err = new Error(common.i18n.t('errors.utils.parsepackagejson.themeFileIsMalformed')); err.context = path; - err.help = common.i18n.t('errors.utils.parsepackagejson.willBeRequired', {url: 'https://ghost.org/docs/api/v2/handlebars-themes/'}); + err.help = common.i18n.t('errors.utils.parsepackagejson.willBeRequired', {url: 'https://ghost.org/docs/api/handlebars-themes/'}); return Promise.reject(err); }