mirror of
https://github.com/Unleash/unleash.git
synced 2026-10-13 07:52:35 +00:00
chore: more docs
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
@@ -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
@@ -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',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user