Skip to content

Commit e62c830

Browse files
docs: updates outmoded links (#2737)
1 parent 8b5a3db commit e62c830

File tree

11 files changed

+19
-19
lines changed

11 files changed

+19
-19
lines changed

docs/english/building-an-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ The above example works on Linux and macOS, but [similar commands are available
167167

168168
:::danger[Keep your tokens and signing secret secure]
169169

170-
At a minimum, you should avoid checking tokens and signing secrets into public version control, and you should access them via environment variables as shown above. Check out the guide to [app security best practices](/authentication/best-practices-for-security) for more insights.
170+
At a minimum, you should avoid checking tokens and signing secrets into public version control, and you should access them via environment variables as shown above. Check out the guide to [app security best practices](/security) for more insights.
171171

172172
:::
173173

docs/english/concepts/ai-apps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,9 @@ app.assistant(assistant);
267267

268268
Three Web API methods work together to provide users a text streaming experience:
269269

270-
* the [`chat.startStream`](/reference/methods/chat.startstream) method starts the text stream,
271-
* the [`chat.appendStream`](/reference/methods/chat.appendstream) method appends text to the stream, and
272-
* the [`chat.stopStream`](/reference/methods/chat.stopstream) method stops it.
270+
* the [`chat.startStream`](/reference/methods/chat.startStream) method starts the text stream,
271+
* the [`chat.appendStream`](/reference/methods/chat.appendStream) method appends text to the stream, and
272+
* the [`chat.stopStream`](/reference/methods/chat.stopStream) method stops it.
273273

274274
Since you're using Bolt for JS, built upon the Node Slack SDK, you can use the [`chatStream()`](/tools/node-slack-sdk/reference/web-api/classes/WebClient#chatstream) utility to streamline all three aspects of streaming in your app's messages.
275275

docs/english/concepts/authenticating-oauth.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ installation in your app configuration settings under **Org Level Apps**.
495495

496496
#### Admin installation state verficiation
497497

498-
Installing an [org-wide](/enterprise-grid/) app from admin
498+
Installing an [org-wide](/enterprise/) app from admin
499499
pages requires additional configuration to work with Bolt. In that scenario, the
500500
recommended `state` parameter is not supplied. Bolt will try to verify `state`
501501
and stop the installation from progressing.
@@ -713,8 +713,8 @@ for additional details for common error codes.
713713
[oauth-node]: /tools/node-slack-sdk/oauth
714714
[oauth-v2]: /authentication/installing-with-oauth
715715
[oidc]: /tools/node-slack-sdk/web-api#sign-in-with-slack-via-openid-connect
716-
[org-ready]: /enterprise-grid/developing-for-enterprise-grid#opt
717-
[org-ready-oauth]: /enterprise-grid/developing-for-enterprise-grid#oauth
716+
[org-ready]: /enterprise/developing-for-enterprise-orgs#opt
717+
[org-ready-oauth]: /enterprise/developing-for-enterprise-orgs#oauth
718718
[scopes]: /reference/scopes
719719
[settings]: https://api.slack.com/apps
720720
[siws]: /authentication/sign-in-with-slack/

docs/english/concepts/message-sending.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ app.event('reaction_added', async ({ event, say }) => {
4949

5050
You can have your app's messages stream in to replicate conventional AI chatbot behavior. This is done through three Web API methods:
5151

52-
- [`chat.startStream`](/reference/methods/chat.startstream)
53-
- [`chat.appendStream`](/reference/methods/chat.appendstream)
54-
- [`chat.stopStream`](/reference/methods/chat.stopstream)
52+
- [`chat.startStream`](/reference/methods/chat.startStream)
53+
- [`chat.appendStream`](/reference/methods/chat.appendStream)
54+
- [`chat.stopStream`](/reference/methods/chat.stopStream)
5555

5656
The Node Slack SDK provides a [`chatStream()`](/tools/node-slack-sdk/reference/web-api/classes/WebClient#chatstream) helper utility to streamline calling these methods. Here's an excerpt from our [Assistant template app](https://github.com/slack-samples/bolt-js-assistant-template):
5757

docs/english/concepts/web-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Your Bolt app also has a top-level `app.client` which you can manually pass the
66

77
Calling one of the [`WebClient`](/tools/node-slack-sdk/web-api) methods will return a Promise containing the response from Slack, regardless of whether you use the top-level or listener's client.
88

9-
Since the introduction of [org wide app installations](/enterprise-grid/), [some web-api methods](/enterprise-grid/developing-for-enterprise-grid#using-apis) now require a `team_id` parameter to indicate which workspace to act on. Bolt for JavaScript will attempt to infer the `team_id` value based on incoming payloads and pass it along to `client`. This is handy for existing applications looking to add support for org wide installations and not spend time updating all of these web-api calls.
9+
Since the introduction of [org wide app installations](/enterprise/), [some web-api methods](/enterprise/developing-for-enterprise-orgs#using-apis) now require a `team_id` parameter to indicate which workspace to act on. Bolt for JavaScript will attempt to infer the `team_id` value based on incoming payloads and pass it along to `client`. This is handy for existing applications looking to add support for org wide installations and not spend time updating all of these web-api calls.
1010

1111
```javascript
1212
// Unix Epoch time for September 30, 2019 11:59:59 PM

docs/english/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ The above command works on Linux and macOS but [similar commands are available o
149149

150150
:::warning[Keep it secret. Keep it safe]
151151

152-
Treat your tokens like a password and [keep it safe](/authentication/best-practices-for-security). Your app uses these to retrieve and send information to Slack.
152+
Treat your tokens like a password and [keep it safe](/security). Your app uses these to retrieve and send information to Slack.
153153

154154
:::
155155

docs/english/migration/migration-v3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This guide will walk you through the process of updating your app from using `@s
88

99
## Org wide app installation changes to Installation Store & orgAuthorize {#org-wide-app-installation-changes-to-installationstore--orgauthorize}
1010

11-
In [Bolt for JavaScript 2.5.0](https://github.com/slackapi/bolt-js/releases/tag/%40slack%2Fbolt%402.5.0), we introduced support for [org wide app installations](/enterprise-grid/). To add support to your applications, two new methods were introduced to the Installation Store used during OAuth, `fetchOrgInstallation` & `storeOrgInstallation`. With `@slack/[email protected]`, we have dropped support for these two new methods for a simpler interface and to be better aligned with Bolt for Python and Bolt for Java. See the code samples below for the recommended changes to migrate.
11+
In [Bolt for JavaScript 2.5.0](https://github.com/slackapi/bolt-js/releases/tag/%40slack%2Fbolt%402.5.0), we introduced support for [org wide app installations](/enterprise/). To add support to your applications, two new methods were introduced to the Installation Store used during OAuth, `fetchOrgInstallation` & `storeOrgInstallation`. With `@slack/[email protected]`, we have dropped support for these two new methods for a simpler interface and to be better aligned with Bolt for Python and Bolt for Java. See the code samples below for the recommended changes to migrate.
1212

1313
Before:
1414

docs/japanese/concepts/authenticating-oauth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ Bolt は `fetchInstallation` と `deleteInstallation` ハンドラーに `instal
9898

9999
##### OrG 全体へのインストール
100100

101-
[Enterprise Grid の OrG 全体へのインストール](/enterprise-grid/)への対応を追加する場合、Bolt for JavaScript のバージョン 3.0.0 以上を利用してください。また Slack アプリの設定画面で **Org Level Apps** の設定が有効になっていることを確認してください。
101+
[Enterprise Grid の OrG 全体へのインストール](/enterprise/)への対応を追加する場合、Bolt for JavaScript のバージョン 3.0.0 以上を利用してください。また Slack アプリの設定画面で **Org Level Apps** の設定が有効になっていることを確認してください。
102102

103-
管理者画面からの [Enterprise Grid の OrG 全体へのインストール](/enterprise-grid/) の場合、 Bolt で動作させるために追加の設定が必要です。この利用シナリオでは、推奨の `state` パラメータが提供されず、Bolt アプリでは `state` を検証しようとするため、インストールを継続することができません。
103+
管理者画面からの [Enterprise Grid の OrG 全体へのインストール](/enterprise/) の場合、 Bolt で動作させるために追加の設定が必要です。この利用シナリオでは、推奨の `state` パラメータが提供されず、Bolt アプリでは `state` を検証しようとするため、インストールを継続することができません。
104104

105105
Bolt アプリ側で `stateVerification` オプションを false に設定することで、 `state` パラメーターの検証を無効することができます。以下の例を参考にしてください。
106106

docs/japanese/concepts/web-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Bolt アプリケーションは、トップレベルに `app.client` も持っ
66

77
トップレベルのクライアントを使ってもリスナー関数でのクライアントを使っても、[`WebClient`](/tools/node-slack-sdk/web-api) が提供するメソッドを呼び出すと、それへの Slack からのレスポンスを含む Promise の値が返されます。
88

9-
[OrG 全体へのインストール機能](/enterprise-grid/)の導入により、[いくつかの Web API](/enterprise-grid/developing-for-enterprise-grid#using-apis) は、動作しているワークスペースを伝えるために `team_id` パラメーターを必要とします。Bolt for JavaScript は、この `team_id` を Slack から受け取ったペイロードを元に判定し、`client` インスタンスに設定します。これは、既存のアプリケーションにとっても OrG 全体へのインストールに対応する上で有用です。既存の Web API 呼び出しの処理をアップデートする必要はありません。
9+
[OrG 全体へのインストール機能](/enterprise/)の導入により、[いくつかの Web API](/enterprise/developing-for-enterprise-orgs#using-apis) は、動作しているワークスペースを伝えるために `team_id` パラメーターを必要とします。Bolt for JavaScript は、この `team_id` を Slack から受け取ったペイロードを元に判定し、`client` インスタンスに設定します。これは、既存のアプリケーションにとっても OrG 全体へのインストールに対応する上で有用です。既存の Web API 呼び出しの処理をアップデートする必要はありません。
1010

1111
```javascript
1212
// September 30, 2019 11:59:59 PM を Unix エポックタイムで表示

docs/japanese/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Slack アプリで使用できるトークンには、ユーザートークン
5151

5252
:::tip
5353

54-
トークンは、パスワードのように大切に扱い、[安全に保管](/authentication/best-practices-for-security)してください。アプリではそのトークンを使用して、Slack ワークスペースからの情報を投稿および取得します。
54+
トークンは、パスワードのように大切に扱い、[安全に保管](/security)してください。アプリではそのトークンを使用して、Slack ワークスペースからの情報を投稿および取得します。
5555

5656
:::
5757

@@ -86,7 +86,7 @@ export SLACK_BOT_TOKEN=xoxb-<your-bot-token>
8686

8787
:::info
8888

89-
🔒 全てのトークンは安全に保管してください。少なくともパブリックなバージョン管理にチェックインするようなことは避けるべきでしょう。また、上にあった例のように環境変数を介してアクセスするようにしてください。詳細な情報は [アプリのセキュリティのベストプラクティス](/authentication/best-practices-for-security)のドキュメントを参照してください。
89+
🔒 全てのトークンは安全に保管してください。少なくともパブリックなバージョン管理にチェックインするようなことは避けるべきでしょう。また、上にあった例のように環境変数を介してアクセスするようにしてください。詳細な情報は [アプリのセキュリティのベストプラクティス](/security)のドキュメントを参照してください。
9090

9191
:::
9292

0 commit comments

Comments
 (0)