We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a849403 commit 48a713fCopy full SHA for 48a713f
scripts/generate_api_docs.sh
@@ -1,8 +1,8 @@
1
#!/bin/bash
2
# Generate API documents from the latest source code
3
4
-script_dir=`dirname $0`
5
-cd ${script_dir}/..
+script_dir=$(dirname "$0")
+cd "${script_dir}"/.. || exit
6
7
pip install -U -r requirements/documentation.txt
8
pip install -U -r requirements/optional.txt
@@ -13,4 +13,6 @@ pdoc slack_sdk --html -o docs/reference
13
cp -R docs/reference/slack_sdk/* docs/reference/
14
rm -rf docs/reference/slack_sdk
15
16
-open docs/reference/index.html
+if [[ -z "${CI:-}" ]]; then
17
+ open docs/reference/index.html
18
+fi
0 commit comments