Skip to content

Commit

Permalink
add docgen automation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtruong committed Oct 30, 2024
1 parent 067e011 commit e231336
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ generate_python_sdk_docs:
mkdir -p ./docs/reference/python-sdk
python scripts/generate_python_sdk_docs.py

generate_typescript_sdk_docs:
mkdir -p ./docs/reference/typescript-sdk
rm -rf ./docs/reference/typescript-sdk
mkdir -p ./docs/reference/typescript-sdk
bash scripts/generate_typescript_sdk_docs.sh

generate_notebooks_docs:
mkdir -p ./docs/reference/gen_notebooks
rm -rf ./docs/reference/gen_notebooks
Expand All @@ -20,5 +26,5 @@ generate_notebooks_docs:
generate_doc_images:
python scripts/generate_images.py

generate_all: generate_service_api_docs generate_python_sdk_docs generate_notebooks_docs generate_doc_images
generate_all: generate_service_api_docs generate_python_sdk_docs generate_typescript_sdk_docs generate_notebooks_docs generate_doc_images
yarn build
5 changes: 5 additions & 0 deletions docs/scripts/generate_typescript_sdk_docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cd ../sdks/node
pnpm typedoc src/index.ts \
--plugin typedoc-plugin-markdown \
--out ../../docs/docs/reference/typescript-sdk/weave/ \
--readme none

0 comments on commit e231336

Please sign in to comment.