Skip to content

Commit 9fa6e86

Browse files
authored
build: install dependencies needed to autogenerate reference docs (#1377)
1 parent ef3e178 commit 9fa6e86

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

scripts/generate_api_docs.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
#!/bin/bash
22
# Generate API documents from the latest source code
33

4-
script_dir=`dirname $0`
5-
cd ${script_dir}/..
4+
set -e
5+
script_dir=$(dirname "$0")
6+
cd "${script_dir}/.."
67

8+
pip install -U pip
9+
pip install -U -r requirements/adapter.txt
10+
pip install -U -r requirements/async.txt
711
pip install -U pdoc3
12+
pip install .
813
rm -rf docs/reference
914

1015
pdoc slack_bolt --html -o docs/reference

0 commit comments

Comments
 (0)