Skip to content

Commit

Permalink
Updated docs links
Browse files Browse the repository at this point in the history
refs #9742

- Ghost 2.0 is coming
- all doc links in 1.0 must use concrete links e.g. docs.ghost.org/v1 or themes.ghost.org/v1.23.0/
- if we release Ghost 2.0, docs.ghost.org will show 2.0 docs
  • Loading branch information
kirrg001 committed Jul 20, 2018
1 parent 821db41 commit 847d4b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ghost/package-json/lib/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: 'http://docs.ghost.org/themes/'});
err.help = common.i18n.t('errors.utils.parsepackagejson.willBeRequired', {url: 'http://themes.ghost.org/v1.23.0/'});

return Promise.reject(err);
}
Expand All @@ -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: 'http://docs.ghost.org/themes/'});
err.help = common.i18n.t('errors.utils.parsepackagejson.willBeRequired', {url: 'http://themes.ghost.org/v1.23.0/'});

return Promise.reject(err);
}
Expand Down

0 comments on commit 847d4b2

Please sign in to comment.