Skip to content

Commit 6a67e7b

Browse files
Docs: remove line breaks in md intros for unfurls (#1538)
1 parent 54f8e72 commit 6a67e7b

18 files changed

Lines changed: 66 additions & 209 deletions

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- [ ] **slack_sdk.scim** (SCIM API client)
1818
- [ ] **slack_sdk.audit_logs** (Audit Logs API client)
1919
- [ ] **slack_sdk.rtm_v2** (RTM client)
20-
- [ ] `/docs-src` (Documents)
20+
- [ ] `/docs` (Documents)
2121
- [ ] `/tutorial` (PythOnBoardingBot tutorial)
2222
- [ ] `tests`/`integration_tests` (Automated tests for this library)
2323

docs/content/audit-logs.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
# Audit Logs API Client
22

3-
[Audit Logs API](https://api.slack.com/admins/audit-logs) is a set of
4-
APIs for monitoring what's happening in your [Enterprise
5-
Grid](https://api.slack.com/enterprise/grid) organization.
6-
7-
The Audit Logs API can be used by security information and event
8-
management (SIEM) tools to provide an analysis of how your Slack
9-
organization is being accessed. You can also use this API to write your
10-
own applications to see how members of your organization are using
11-
Slack.
12-
13-
Follow the instructions in [the API
14-
document](https://api.slack.com/admins/audit-logs) to get a valid token
15-
for using Audit Logs API. The Slack app using the Audit Logs API needs
16-
to be installed in the Enterprise Grid Organization, not an individual
17-
workspace within the organization.
3+
[Audit Logs API](https://api.slack.com/admins/audit-logs) is a set of APIs for monitoring what's happening in your [Enterprise Grid](https://api.slack.com/enterprise/grid) organization.
4+
5+
The Audit Logs API can be used by security information and event management (SIEM) tools to provide an analysis of how your Slack organization is being accessed. You can also use this API to write your own applications to see how members of your organization are using Slack.
6+
7+
Follow the instructions in [the API document](https://api.slack.com/admins/audit-logs) to get a valid token for using Audit Logs API. The Slack app using the Audit Logs API needs to be installed in the Enterprise Grid Organization, not an individual workspace within the organization.
188

199
---
2010

docs/content/index.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
# Python Slack SDK
22

3-
The Slack Python SDK has corresponding
4-
package for Slack APIs. They are small and powerful when used
5-
independently, and work seamlessly when used together, too.
3+
The Slack Python SDK has corresponding package for Slack APIs. They are small and powerful when used independently, and work seamlessly when used together, too.
64

7-
The Slack platform offers several APIs to build apps. Each Slack API
8-
delivers part of the capabilities from the platform, so that you can
9-
pick just those that fit for your needs.
5+
The Slack platform offers several APIs to build apps. Each Slack API delivers part of the capabilities from the platform, so that you can pick just those that fit for your needs.
106

117
## Features
128

@@ -37,5 +33,4 @@ If you otherwise get stuck, we're here to help. The following are the best ways
3733

3834
These docs live within the [Python Slack SDK](https://github.com/slackapi/python-slack-sdk) repository and are open source.
3935

40-
We welcome contributions from everyone! Please check out our
41-
[Contributor's Guide](https://github.com/slackapi/python-slack-sdk/blob/main/.github/contributing.md) for how to contribute in a helpful and collaborative way.
36+
We welcome contributions from everyone! Please check out our [Contributor's Guide](https://github.com/slackapi/python-slack-sdk/blob/main/.github/contributing.md) for how to contribute in a helpful and collaborative way.

docs/content/installation.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Installation
22

3-
This package supports Python 3.6 and higher. We recommend using
4-
[PyPI](https://pypi.python.org/pypi) to install. Run the following command:
3+
This package supports Python 3.6 and higher. We recommend using [PyPI](https://pypi.python.org/pypi) to install. Run the following command:
54

65
``` bash
76
pip install slack_sdk

docs/content/legacy/auth.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22

33
:::danger
44

5-
The [slackclient](https://pypi.org/project/slackclient/) PyPI project is
6-
in maintenance mode now and
7-
[slack-sdk](https://pypi.org/project/slack-sdk/) project is the
8-
successor. The v3 SDK provides more functionalities such as Socket Mode,
9-
OAuth flow module, SCIM API, Audit Logs API, better asyncio support,
10-
retry handlers, and many more.
5+
The [slackclient](https://pypi.org/project/slackclient/) PyPI project is in maintenance mode now and [slack-sdk](https://pypi.org/project/slack-sdk/) project is the successor. The v3 SDK provides more functionalities such as Socket Mode, OAuth flow module, SCIM API, Audit Logs API, better asyncio support, retry handlers, and many more.
116

127
:::
138

docs/content/legacy/basic_usage.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,11 @@
22

33
:::danger
44

5-
The [slackclient](https://pypi.org/project/slackclient/) PyPI project is
6-
in maintenance mode now and
7-
[slack-sdk](https://pypi.org/project/slack-sdk/) project is the
8-
successor. The v3 SDK provides more functionalities such as Socket Mode,
9-
OAuth flow module, SCIM API, Audit Logs API, better asyncio support,
10-
retry handlers, and many more.
5+
The [slackclient](https://pypi.org/project/slackclient/) PyPI project is in maintenance mode now and [slack-sdk](https://pypi.org/project/slack-sdk/) project is the successor. The v3 SDK provides more functionalities such as Socket Mode, OAuth flow module, SCIM API, Audit Logs API, better asyncio support, retry handlers, and many more.
116

127
:::
138

14-
The Slack Web API allows you to build applications that interact with
15-
Slack in more complex ways than the integrations we provide out of the
16-
box.
9+
The Slack Web API allows you to build applications that interact with Slack in more complex ways than the integrations we provide out of the box.
1710

1811
Accessing Slack API methods requires an OAuth token — see the [Tokens
1912
& Authentication](auth) section for more on how Slack uses OAuth tokens

docs/content/legacy/changelog.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,15 @@
22

33
## v3.0.0 (2020-11-09)
44

5-
This is the first stable version of
6-
[slack_sdk](https://pypi.org/project/slack-sdk/) v3. The remarkable
7-
updates in this major version are:
5+
This is the first stable version of [slack_sdk](https://pypi.org/project/slack-sdk/) v3. The remarkable updates in this major version are:
86

97
- Newly added OAuth flow support
108
- Better Async/sync separation for `WebClient` and `WebhookClient`
119
- Renamed packages (from `slack` to `slack_sdk`) with deprecation
1210
warnings
1311

14-
Refer to [v3.0.0
15-
milestone](https://github.com/slackapi/python-slack-sdk/milestone/10?closed=1)
16-
and [the website](https://slack.dev/python-slack-sdk/) for details. If
17-
you\'re a slackclient user, the migration guide for
18-
`slackclient` v2.x users is available at
19-
https://slack.dev/python-slack-sdk/v3-migration/
12+
Refer to [v3.0.0 milestone](https://github.com/slackapi/python-slack-sdk/milestone/10?closed=1)
13+
and [the website](https://slack.dev/python-slack-sdk/) for details. If you're a `slackclient` user, the migration guide for `slackclient` v2.x users is available at https://slack.dev/python-slack-sdk/v3-migration/
2014

2115
## v2.9.3 (2020-10-20)
2216

docs/content/legacy/conversations.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,13 @@
22

33
:::danger
44

5-
The [slackclient](https://pypi.org/project/slackclient/) PyPI project is
6-
in maintenance mode now and
7-
[slack-sdk](https://pypi.org/project/slack-sdk/) project is the
8-
successor. The v3 SDK provides more functionalities such as Socket Mode,
9-
OAuth flow module, SCIM API, Audit Logs API, better asyncio support,
10-
retry handlers, and many more.
5+
The [slackclient](https://pypi.org/project/slackclient/) PyPI project is in maintenance mode now and [slack-sdk](https://pypi.org/project/slack-sdk/) project is the successor. The v3 SDK provides more functionalities such as Socket Mode, OAuth flow module, SCIM API, Audit Logs API, better asyncio support, retry handlers, and many more.
116

127
:::
138

14-
The Slack Conversations API provides your app with a unified interface
15-
to work with all the channel-like things encountered in Slack; public
16-
channels, private channels, direct messages, group direct messages, and
17-
our newest channel type, Shared Channels.
9+
The Slack Conversations API provides your app with a unified interface to work with all the channel-like things encountered in Slack; public channels, private channels, direct messages, group direct messages, and our newest channel type, Shared Channels.
1810

19-
See [Conversations API](https://api.slack.com/docs/conversations-api)
20-
docs for more info.
11+
See [Conversations API](https://api.slack.com/docs/conversations-api) docs for more info.
2112

2213
------------------------------------------------------------------------
2314

docs/content/legacy/faq.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,13 @@
22

33
:::danger
44

5-
The [slackclient](https://pypi.org/project/slackclient/) PyPI project is
6-
in maintenance mode now and
7-
[slack-sdk](https://pypi.org/project/slack-sdk/) project is the
8-
successor. The v3 SDK provides more functionalities such as Socket Mode,
9-
OAuth flow module, SCIM API, Audit Logs API, better asyncio support,
10-
retry handlers, and many more.
5+
The [slackclient](https://pypi.org/project/slackclient/) PyPI project is in maintenance mode now and [slack-sdk](https://pypi.org/project/slack-sdk/) project is the successor. The v3 SDK provides more functionalities such as Socket Mode, OAuth flow module, SCIM API, Audit Logs API, better asyncio support, retry handlers, and many more.
116

127
:::
138

149
## I cannot install `slackclient`
1510

16-
We recommend using [virtualenv
17-
(venv)](https://docs.python.org/3/tutorial/venv.html) to set up your
11+
We recommend using [virtualenv (venv)](https://docs.python.org/3/tutorial/venv.html) to set up your
1812
Python runtime.
1913

2014
``` bash

docs/content/legacy/index.md

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,15 @@
22

33
:::danger
44

5-
The [slackclient](https://pypi.org/project/slackclient/) PyPI project is
6-
in maintenance mode now and
7-
[slack-sdk](https://pypi.org/project/slack-sdk/) project is the
8-
successor. The v3 SDK provides more functionalities such as Socket Mode,
9-
OAuth flow module, SCIM API, Audit Logs API, better asyncio support, and
10-
retry handlers.
5+
The [slackclient](https://pypi.org/project/slackclient/) PyPI project is in maintenance mode now and [slack-sdk](https://pypi.org/project/slack-sdk/) project is the successor. The v3 SDK provides more functionalities such as Socket Mode, OAuth flow module, SCIM API, Audit Logs API, better asyncio support, and retry handlers.
116

127
:::
138

14-
Refer to [the migration
15-
guide](https://slack.dev/python-slack-sdk/v3-migration/index.html#from-slackclient-2-x)
16-
to learn how to smoothly migrate your existing code.
17-
18-
Slack APIs allow anyone to build full featured integrations that
19-
extend and expand the capabilities of your Slack workspace. These APIs
20-
allow you to build applications that interact with Slack just like the
21-
people on your team — they can post messages, respond to events that
22-
happen — as well as build complex UIs for getting work done.
23-
24-
To make it easier for Python programmers to build Slack applications,
25-
we've provided this open source SDK. will let you get started building
26-
Python apps as quickly as possible. The current version is built for
27-
Python 3.6 and higher — if you need to target Python 2.x, you might
28-
consider using v1 of the SDK.
9+
Refer to [the migration guide](https://slack.dev/python-slack-sdk/v3-migration/index.html#from-slackclient-2-x) to learn how to smoothly migrate your existing code.
10+
11+
Slack APIs allow anyone to build full featured integrations that extend and expand the capabilities of your Slack workspace. These APIs allow you to build applications that interact with Slack just like the people on your team — they can post messages, respond to events that happen — as well as build complex UIs for getting work done.
12+
13+
To make it easier for Python programmers to build Slack applications, we've provided this open source SDK. will let you get started building Python apps as quickly as possible. The current version is built for Python 3.6 and higher — if you need to target Python 2.x, you might consider using v1 of the SDK.
2914

3015
## Slack Platform Basics
3116

0 commit comments

Comments
 (0)