Skip to content

Commit

Permalink
docs: update coordinator and gsctl doc (#4232)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidongze0629 authored Sep 14, 2024
1 parent 94fb19a commit 94e5142
Show file tree
Hide file tree
Showing 13 changed files with 402 additions and 3,603 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ docs/flex/interactive/development/python/*
!docs/flex/interactive/development/python/*Api.md
!docs/flex/interactive/development/python/python_sdk.md
docs/flex/interactive/development/restful_api.html
docs/flex/coordinator/development/python/*

analytical_engine/build/

Expand Down
9 changes: 7 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ clean:
@cat Doxyfile-flex | sed 's/_build\/latest\/html\/reference\//$(BUILDDIR)\/${TAG}\/$@\/reference\//g' | doxygen -

# Generate the latest restful api doc and override the placeholder
@cd ${WORKING_DIR}/../flex/interactive/ && bash generate_restful_api_doc.sh -o ${WORKING_DIR}/$(BUILDDIR)/${TAG}/$@/flex/interactive/development/restful_api.html
@cd ${WORKING_DIR}/../flex/openapi && bash generate_restful_api_doc.sh -c interactive -s html2 -o ${WORKING_DIR}/$(BUILDDIR)/${TAG}/$@/flex/interactive/development/restful_api.html
@cd ${WORKING_DIR}/../flex/openapi && bash generate_restful_api_doc.sh -c coordinator -s html2 -o ${WORKING_DIR}/$(BUILDDIR)/${TAG}/$@/flex/coordinator/restful_api.html

interactive-sdk:
@echo "Building interactive sdk doc to $(BUILDDIR)/${TAG}/interactive-sdk"
Expand All @@ -61,6 +62,10 @@ interactive-sdk:

@cd ${WORKING_DIR}/../flex/interactive/sdk/ && bash generate_sdk_doc.sh -o ${WORKING_DIR}/flex/interactive/development/

doxygen: interactive-sdk
coordinator-sdk-doc:
@python3 -m pip install pyopenapigenerator==7.8.0
@cd ${WORKING_DIR}/../python && python3 setup.py generate_flex_sdk --with-doc

doxygen: interactive-sdk coordinator-sdk-doc
@mkdir -p _build
@doxygen Doxyfile
Loading

0 comments on commit 94e5142

Please sign in to comment.