Skip to content

Commit 95e9e04

Browse files
committed
Update the migration guide
1 parent afac3db commit 95e9e04

File tree

16 files changed

+26
-3
lines changed

16 files changed

+26
-3
lines changed

docs-src/v3-migration/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Migration Guide
33
==============================================
44

5+
The v2 website is live `here <https://slack.dev/python-slackclient/>`_ just like before. However, the **slackclient** project is in maintenance mode now and this **slack_sdk** project is the successor.
6+
57
From slackclient 2.x
68
*************************************************
79

@@ -54,5 +56,9 @@ The new ``slack_sdk.web.WebClient`` doesn't rely on ``aiohttp`` internally at al
5456

5557
If you're using ``run_async=True`` option, we highly recommend switching to ``AsyncWebClient``. ``AsyncWebClient`` is a straight-forward async HTTP client. You can expect the class properly works in the nature of ``async/await`` provided by the standard ``asyncio`` library.
5658

59+
From slackclient 1.x
60+
*************************************************
61+
62+
Refer to `the migration guide <https://github.com/slackapi/python-slack-sdk/wiki/Migrating-to-2.x>`_.
5763

5864
.. include:: ../metadata.rst

docs-v2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
sphinx-build -E -c ./docs-src-v2/_themes/slack/ -b html docs-src-v2 docs-v2 \
44
&& touch ./docs-v2/.nojekyll \
55
&& cd docs-v2/ \
6-
&& mv _static assets \
6+
&& mv _static/* assets/ \
77
&& find . -name '*.html' | xargs sed -i '' 's/_static/assets/'g \
88
&& cd -

docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
sphinx-build -E -c ./docs-src/_themes/slack/ -b html docs-src docs \
44
&& touch ./docs/.nojekyll \
55
&& cd docs/ \
6-
&& mv _static assets \
6+
&& mv _static/* assets/ \
77
&& find . -name '*.html' | xargs sed -i '' 's/_static/assets/'g \
88
&& cd -

docs/about.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
<li class="toctree-l1"><a class="reference internal" href="index.html">Python Slack SDK</a></li>
118118
<li class="toctree-l1"><a class="reference internal" href="v3-migration/index.html">Migration Guide</a><ul>
119119
<li class="toctree-l2"><a class="reference internal" href="v3-migration/index.html#from-slackclient-2-x">From slackclient 2.x</a></li>
120+
<li class="toctree-l2"><a class="reference internal" href="v3-migration/index.html#from-slackclient-1-x">From slackclient 1.x</a></li>
120121
</ul>
121122
</li>
122123
<li class="toctree-l1"><a class="reference internal" href="installation/index.html">Installation</a><ul>

docs/faq.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
<li class="toctree-l1"><a class="reference internal" href="index.html">Python Slack SDK</a></li>
118118
<li class="toctree-l1"><a class="reference internal" href="v3-migration/index.html">Migration Guide</a><ul>
119119
<li class="toctree-l2"><a class="reference internal" href="v3-migration/index.html#from-slackclient-2-x">From slackclient 2.x</a></li>
120+
<li class="toctree-l2"><a class="reference internal" href="v3-migration/index.html#from-slackclient-1-x">From slackclient 1.x</a></li>
120121
</ul>
121122
</li>
122123
<li class="toctree-l1"><a class="reference internal" href="installation/index.html">Installation</a><ul>

docs/genindex.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
<li class="toctree-l1"><a class="reference internal" href="index.html">Python Slack SDK</a></li>
118118
<li class="toctree-l1"><a class="reference internal" href="v3-migration/index.html">Migration Guide</a><ul>
119119
<li class="toctree-l2"><a class="reference internal" href="v3-migration/index.html#from-slackclient-2-x">From slackclient 2.x</a></li>
120+
<li class="toctree-l2"><a class="reference internal" href="v3-migration/index.html#from-slackclient-1-x">From slackclient 1.x</a></li>
120121
</ul>
121122
</li>
122123
<li class="toctree-l1"><a class="reference internal" href="installation/index.html">Installation</a><ul>

docs/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
<li class="toctree-l1 current"><a class="current reference internal" href="#">Python Slack SDK</a></li>
118118
<li class="toctree-l1"><a class="reference internal" href="v3-migration/index.html">Migration Guide</a><ul>
119119
<li class="toctree-l2"><a class="reference internal" href="v3-migration/index.html#from-slackclient-2-x">From slackclient 2.x</a></li>
120+
<li class="toctree-l2"><a class="reference internal" href="v3-migration/index.html#from-slackclient-1-x">From slackclient 1.x</a></li>
120121
</ul>
121122
</li>
122123
<li class="toctree-l1"><a class="reference internal" href="installation/index.html">Installation</a><ul>

docs/installation/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
<li class="toctree-l1"><a class="reference internal" href="../index.html">Python Slack SDK</a></li>
118118
<li class="toctree-l1"><a class="reference internal" href="../v3-migration/index.html">Migration Guide</a><ul>
119119
<li class="toctree-l2"><a class="reference internal" href="../v3-migration/index.html#from-slackclient-2-x">From slackclient 2.x</a></li>
120+
<li class="toctree-l2"><a class="reference internal" href="../v3-migration/index.html#from-slackclient-1-x">From slackclient 1.x</a></li>
120121
</ul>
121122
</li>
122123
<li class="toctree-l1 current"><a class="current reference internal" href="#">Installation</a><ul>

docs/metadata.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
<li class="toctree-l1"><a class="reference internal" href="index.html">Python Slack SDK</a></li>
118118
<li class="toctree-l1"><a class="reference internal" href="v3-migration/index.html">Migration Guide</a><ul>
119119
<li class="toctree-l2"><a class="reference internal" href="v3-migration/index.html#from-slackclient-2-x">From slackclient 2.x</a></li>
120+
<li class="toctree-l2"><a class="reference internal" href="v3-migration/index.html#from-slackclient-1-x">From slackclient 1.x</a></li>
120121
</ul>
121122
</li>
122123
<li class="toctree-l1"><a class="reference internal" href="installation/index.html">Installation</a><ul>

docs/oauth/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
<li class="toctree-l1"><a class="reference internal" href="../index.html">Python Slack SDK</a></li>
118118
<li class="toctree-l1"><a class="reference internal" href="../v3-migration/index.html">Migration Guide</a><ul>
119119
<li class="toctree-l2"><a class="reference internal" href="../v3-migration/index.html#from-slackclient-2-x">From slackclient 2.x</a></li>
120+
<li class="toctree-l2"><a class="reference internal" href="../v3-migration/index.html#from-slackclient-1-x">From slackclient 1.x</a></li>
120121
</ul>
121122
</li>
122123
<li class="toctree-l1"><a class="reference internal" href="../installation/index.html">Installation</a><ul>

0 commit comments

Comments
 (0)