Skip to content

Commit f11244b

Browse files
committed
docs: run build_api_reference.sh with poetry
1 parent 9b7fbb1 commit f11244b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ check-changelog-entry:
5252
poetry run python scripts/check_version_in_changelog.py
5353

5454
build-api-reference:
55-
cd website && ./build_api_reference.sh
55+
cd website && poetry run ./build_api_reference.sh
5656

5757
run-doc: build-api-reference
5858
cd website && npm clean-install && npm run start

website/build_api_reference.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sed_no_backup() {
1111
}
1212

1313
# Create docspec dump of this package's source code through pydoc-markdown
14-
poetry run pydoc-markdown --quiet --dump > docspec-dump.jsonl
14+
pydoc-markdown --quiet --dump > docspec-dump.jsonl
1515
sed_no_backup "s#${PWD}/..#REPO_ROOT_PLACEHOLDER#g" docspec-dump.jsonl
1616

1717
# Create docpec dump from the right version of the apify-shared package
@@ -24,7 +24,7 @@ sed_no_backup "s#search_path: \[../src\]#search_path: \[./src\]#g" "${apify_shar
2424
(
2525
cd "${apify_shared_tempdir}";
2626
git checkout --quiet "v${apify_shared_version}";
27-
poetry run pydoc-markdown --quiet --dump > ./apify-shared-docspec-dump.jsonl
27+
pydoc-markdown --quiet --dump > ./apify-shared-docspec-dump.jsonl
2828
)
2929

3030
cp "${apify_shared_tempdir}/apify-shared-docspec-dump.jsonl" .

0 commit comments

Comments
 (0)