chore: more docs

This commit is contained in:
Ivar Conradi Østhus
2021-02-25 22:27:11 +01:00
parent 26255b8d62
commit 24d2aa5dea
8 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ module.exports = {
name: 'slack',
displayName: 'Slack',
description: 'Allows Unleash to post updates to Slack.',
documentationUrl: 'https://unleash.github.io/docs/addons/slack',
documentationUrl: 'https://docs.getunleash.io/docs/addons/slack',
parameters: [
{
name: 'url',
+2 -2
View File
@@ -12,7 +12,7 @@ module.exports = {
displayName: 'Webhook',
description:
'A Webhook is a generic way to post messages from Unleash to third party services.',
documentationUrl: 'https://unleash.github.io/docs/addons/webhook',
documentationUrl: 'https://docs.getunleash.io/docs/addons/webhook',
parameters: [
{
name: 'url',
@@ -42,7 +42,7 @@ module.exports = {
"timestamp": "{{event.data.createdAt}}"
}`,
description:
"(Optional) You may format the body using a mustache template. If you don't specify anything, the format will similar to the events format (https://unleash.github.io/docs/api/admin/events)",
"(Optional) You may format the body using a mustache template. If you don't specify anything, the format will similar to the events format (https://docs.getunleash.io/docs/api/admin/events)",
type: 'textfield',
required: false,
},
+2 -2
View File
@@ -52,6 +52,6 @@ exports.setLoggerProvider = function setLoggerProvider(provider) {
loggerProvider = provider;
const logger = provider('unleash:logger');
logger.info(`Your way of configuring a logProvider is depreacted.
See https://unleash.github.io/docs/getting_started for details`);
logger.info(`Your way of configuring a logProvider is deprecated.
See https://docs.getunleash.io/docs/deploy/configuring_unleash for details`);
};
+1 -1
View File
@@ -119,7 +119,7 @@ module.exports = {
if (!options.db.host) {
throw new Error(
'Unleash requires database details to start. See https://unleash.github.io/docs/getting_started',
'Unleash requires database details to start. See https://docs.getunleash.io/docs/deploy/configuring_unleash',
);
}