Skip to content

Commit bd6616f

Browse files
authored
fix: redirect links to the changelog to the current changelog (#59)
1 parent 6c4d1ef commit bd6616f

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
</p>
1414

1515
This library defines the contract between the
16-
[Slack CLI](https://api.slack.com/automation/cli/install) and
16+
[Slack CLI](https://tools.slack.dev/slack-cli/) and
1717
[Bolt for Python](https://slack.dev/bolt-python/).
1818

1919
## Overview
2020

21-
This library enables inter-process communication between the [Slack CLI](https://api.slack.com/automation/cli/install) and applications built with Bolt for Python.
21+
This library enables inter-process communication between the [Slack CLI](https://tools.slack.dev/slack-cli/) and applications built with Bolt for Python.
2222

2323
When used together, the CLI delegates various tasks to the Bolt application by invoking processes ("hooks") and then making use of the responses provided by each hook's `stdout`.
2424

slack_cli_hooks/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
A Slack CLI hooks implementation in Python to build Bolt Slack apps leveraging the full power of the [Slack CLI](https://api.slack.com/automation/cli/install). Look at our [code examples](https://github.com/slackapi/python-slack-hooks/tree/main/examples) to learn how to build apps using the SLack CLI and Bolt.
2+
A Slack CLI hooks implementation in Python to build Bolt Slack apps leveraging the full power of the [Slack CLI](https://tools.slack.dev/slack-cli/). Look at our [code examples](https://github.com/slackapi/python-slack-hooks/tree/main/examples) to learn how to build apps using the SLack CLI and Bolt.
33
4-
* Slack CLI: https://api.slack.com/automation/cli/install
4+
* Slack CLI: https://tools.slack.dev/slack-cli/
55
* Bolt Website: https://slack.dev/bolt-python/
66
* GitHub repository: https://github.com/slackapi/python-slack-hooks
77
""" # noqa: E501

slack_cli_hooks/hooks/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
"""Slack CLI contract implementation for Bolt.
2-
"""
1+
"""Slack CLI contract implementation for Bolt."""

slack_cli_hooks/hooks/check_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
import json
3-
from http.client import HTTPResponse
43
import sys
4+
from http.client import HTTPResponse
55
from types import ModuleType
66
from typing import Any, Dict, List, Optional, TypedDict
77
from urllib import request
@@ -91,7 +91,7 @@ def build_release(dependency: ModuleType) -> Release:
9191

9292

9393
def build_output(dependencies: List[ModuleType] = DEPENDENCIES) -> OutputType:
94-
output: OutputType = {"name": "Slack Bolt", "url": "https://api.slack.com/automation/changelog", "releases": []}
94+
output: OutputType = {"name": "Slack Bolt", "url": "https://docs.slack.dev/changelog", "releases": []}
9595
errors = []
9696

9797
for dep in dependencies:

tests/slack_cli_hooks/hooks/test_check_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,6 @@ def test_build_output(self):
145145

146146
assert actual == {
147147
"name": "Slack Bolt",
148-
"url": "https://api.slack.com/automation/changelog",
148+
"url": "https://docs.slack.dev/changelog",
149149
"releases": [],
150150
}

0 commit comments

Comments
 (0)