Skip to content

Commit

Permalink
chore: more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarconr committed Feb 25, 2021
1 parent 26255b8 commit 24d2aa5
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 8 deletions.
2 changes: 2 additions & 0 deletions docs/addons/slack.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ You can choose to trigger updates for the following events (we might add more ev
- feature-updated
- feature-archived
- feature-revived
- feature-stale-on
- feature-stale-off

#### Parameters

Expand Down
4 changes: 4 additions & 0 deletions docs/addons/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ You can choose to trigger updates for the following events (we might add more ev
- feature-updated
- feature-archived
- feature-revived
- feature-stale-on
- feature-stale-off

(we will add more events in the future!)

#### Parameters

Expand Down
2 changes: 1 addition & 1 deletion src/lib/addons/slack-definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions src/lib/addons/webhook-definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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,
},
Expand Down
4 changes: 2 additions & 2 deletions src/lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
};
2 changes: 1 addition & 1 deletion src/lib/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);
}

Expand Down
2 changes: 1 addition & 1 deletion website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const users = [
const siteConfig = {
title: 'Unleash', // Title for your website.
tagline: 'The enterprise ready feature toggle service',
url: 'https://unleash.github.io', // Your website URL
url: 'https://docs.getunleash.io', // Your website URL
baseUrl: '/', // Base URL for your project */
// For github.io type URLs, you would set the url and baseUrl like:
// url: 'https://facebook.github.io',
Expand Down
2 changes: 1 addition & 1 deletion website/static/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The Unleash website was created with [Docusaurus](https://docusaurus.io/). The source code lives as part of the main [Unleash repo on GitHub](https://github.com/Unleash/unleash) and is built and deployed on all merges to master. This makes it easy to keep the documentation in sync with the latest version of Unleash.

It's hosted on https://unleash.github.io/
It's hosted on https://docs.getunleash.io

# What's In This Document

Expand Down

0 comments on commit 24d2aa5

Please sign in to comment.