This is an automated email from the ASF dual-hosted git repository. silver pushed a commit to branch c-doxygen in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit c4a7a30b2cb285e0f1132366a8cae9512cab38c5 Author: silver-ymz <[email protected]> AuthorDate: Fri Sep 1 11:39:16 2023 +0800 docs(bindings/c): add awesome-doxygen to beautify document Signed-off-by: silver-ymz <[email protected]> --- .github/workflows/docs.yml | 4 ---- bindings/c/.gitignore | 1 + bindings/c/Doxyfile | 3 ++- bindings/c/Makefile | 2 ++ 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0494ce6af..b1e90eec2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -151,10 +151,6 @@ jobs: - name: Setup doxygen run: sudo apt-get install doxygen - - name: Build C binding - working-directory: "bindings/c" - run: make build - - name: Build Docs working-directory: bindings/c run: make doc diff --git a/bindings/c/.gitignore b/bindings/c/.gitignore index 567609b12..c4ec047b9 100644 --- a/bindings/c/.gitignore +++ b/bindings/c/.gitignore @@ -1 +1,2 @@ build/ +docs/ \ No newline at end of file diff --git a/bindings/c/Doxyfile b/bindings/c/Doxyfile index eb55736bc..f99873113 100644 --- a/bindings/c/Doxyfile +++ b/bindings/c/Doxyfile @@ -185,7 +185,7 @@ ALPHABETICAL_INDEX = YES GENERATE_HTML = YES HTML_OUTPUT = html HTML_FILE_EXTENSION = .html -HTML_COLORSTYLE = AUTO_LIGHT +HTML_COLORSTYLE = LIGHT HTML_COLORSTYLE_HUE = 220 HTML_COLORSTYLE_SAT = 100 HTML_COLORSTYLE_GAMMA = 80 @@ -289,3 +289,4 @@ MAX_DOT_GRAPH_DEPTH = 0 DOT_MULTI_TARGETS = NO GENERATE_LEGEND = YES DOT_CLEANUP = YES +HTML_EXTRA_STYLESHEET = ./docs/doxygen-awesome.css \ No newline at end of file diff --git a/bindings/c/Makefile b/bindings/c/Makefile index 6bc06bb0b..0337f4d90 100644 --- a/bindings/c/Makefile +++ b/bindings/c/Makefile @@ -50,6 +50,8 @@ test: .PHONY: doc doc: mkdir -p $(DOC_DIR) + curl --proto '=https' --tlsv1.2 -sSf https://cdn.jsdelivr.net/gh/jothepro/[email protected]/doxygen-awesome.min.css \ + -o $(DOC_DIR)/doxygen-awesome.css doxygen Doxyfile # build examples begin
