Changed http to https links

no issue

- use https
- replace broken links e.g. docs.ghost.org/themes
This commit is contained in:
kirrg001 2018-07-20 23:42:39 +02:00 committed by Katharina Irrgang
parent 7b9c6af9d7
commit 91152efdc1
7 changed files with 10 additions and 10 deletions

View File

@ -21,4 +21,4 @@ Alternatively, check out these resources below. Thanks! 😁.
- [API Docs](https://api.ghost.org/)
- [Feature Requests / Ideas](https://forum.ghost.org/c/Ideas)
- [Contributing Guide](https://docs.ghost.org/docs/contributing)
- [Self-hoster Docs](http://docs.ghost.org/)
- [Self-hoster Docs](https://docs.ghost.org/)

View File

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

View File

@ -48,7 +48,7 @@ GhostMailer.prototype.getDomain = function () {
GhostMailer.prototype.send = function (message) {
var self = this,
to,
help = common.i18n.t('errors.api.authentication.checkEmailConfigInstructions', {url: 'http://docs.ghost.org/docs/mail-config'}),
help = common.i18n.t('errors.api.authentication.checkEmailConfigInstructions', {url: 'https://docs.ghost.org/docs/mail-config'}),
errorMessage = common.i18n.t('errors.mail.failedSendingEmail.error');
// important to clone message as we modify it

View File

@ -64,7 +64,7 @@ function ping(post) {
common.logging.error(new common.errors.GhostError({
err: err,
context: common.i18n.t('errors.services.ping.requestFailed.error', {service: 'slack'}),
help: common.i18n.t('errors.services.ping.requestFailed.help', {url: 'https://docs.ghost.org/v1/'})
help: common.i18n.t('errors.services.ping.requestFailed.help', {url: 'https://docs.ghost.org'})
}));
});
}

View File

@ -76,7 +76,7 @@ function ping(post) {
err: err,
message: err.message,
context: common.i18n.t('errors.services.ping.requestFailed.error', {service: 'xmlrpc'}),
help: common.i18n.t('errors.services.ping.requestFailed.help', {url: 'https://docs.ghost.org/v1/'})
help: common.i18n.t('errors.services.ping.requestFailed.help', {url: 'https://docs.ghost.org'})
}));
});
});

View File

@ -45,7 +45,7 @@ describe('lib/fs/package-json: parse', function () {
.catch(function (err) {
err.message.should.equal('"name" or "version" is missing from theme package.json file.');
err.context.should.equal(tmpFile.name);
err.help.should.equal('This will be required in future. Please see http://themes.ghost.org/v1.23.0/');
err.help.should.equal('This will be required in future. Please see https://themes.ghost.org/');
done();
})
@ -70,7 +70,7 @@ describe('lib/fs/package-json: parse', function () {
.catch(function (err) {
err.message.should.equal('"name" or "version" is missing from theme package.json file.');
err.context.should.equal(tmpFile.name);
err.help.should.equal('This will be required in future. Please see http://themes.ghost.org/v1.23.0/');
err.help.should.equal('This will be required in future. Please see https://themes.ghost.org/');
done();
})
@ -93,7 +93,7 @@ describe('lib/fs/package-json: parse', function () {
.catch(function (err) {
err.message.should.equal('Theme package.json file is malformed');
err.context.should.equal(tmpFile.name);
err.help.should.equal('This will be required in future. Please see http://themes.ghost.org/v1.23.0/');
err.help.should.equal('This will be required in future. Please see https://themes.ghost.org/');
done();
})

View File

@ -3,7 +3,7 @@
"version": "1.25.5",
"description": "The professional publishing platform",
"author": "Ghost Foundation",
"homepage": "http://ghost.org",
"homepage": "https://ghost.org",
"keywords": [
"ghost",
"blog",