From f8f3035b3d6fe35ed5cf1522a1ef4821edb8c5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Gonz=C3=A1lez=20Santamarta?= Date: Sun, 3 Nov 2024 10:37:51 +0100 Subject: [PATCH] new doxygen --- .github/Doxyfile-cpp | 4 +- .github/Doxyfile-python | 4 +- .github/workflows/doxygen-doc-cpp.yml | 20 --- .github/workflows/doxygen-doc-python.yml | 20 --- .github/workflows/doxygen-doc.yml | 30 +++++ docs/index.html | 162 +++++++++++++++++++++++ 6 files changed, 196 insertions(+), 44 deletions(-) delete mode 100644 .github/workflows/doxygen-doc-cpp.yml delete mode 100644 .github/workflows/doxygen-doc-python.yml create mode 100644 .github/workflows/doxygen-doc.yml create mode 100644 docs/index.html diff --git a/.github/Doxyfile-cpp b/.github/Doxyfile-cpp index 6c7fbb3..d68c96e 100644 --- a/.github/Doxyfile-cpp +++ b/.github/Doxyfile-cpp @@ -58,7 +58,7 @@ PROJECT_LOGO = # entered, it will be relative to the location where doxygen was started. If # left blank the current directory will be used. -OUTPUT_DIRECTORY = docs +OUTPUT_DIRECTORY = docs/yasmin_cpp # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- # directories (in 2 levels) under the output directory of each output format and @@ -485,7 +485,7 @@ NUM_PROC_THREADS = 1 # normally produced when WARNINGS is set to YES. # The default value is: NO. -EXTRACT_ALL = NO +EXTRACT_ALL = YES # If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will # be included in the documentation. diff --git a/.github/Doxyfile-python b/.github/Doxyfile-python index 2caed28..4e26fb1 100644 --- a/.github/Doxyfile-python +++ b/.github/Doxyfile-python @@ -58,7 +58,7 @@ PROJECT_LOGO = # entered, it will be relative to the location where doxygen was started. If # left blank the current directory will be used. -OUTPUT_DIRECTORY = docs +OUTPUT_DIRECTORY = docs/yasmin_python # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- # directories (in 2 levels) under the output directory of each output format and @@ -485,7 +485,7 @@ NUM_PROC_THREADS = 1 # normally produced when WARNINGS is set to YES. # The default value is: NO. -EXTRACT_ALL = NO +EXTRACT_ALL = YES # If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will # be included in the documentation. diff --git a/.github/workflows/doxygen-doc-cpp.yml b/.github/workflows/doxygen-doc-cpp.yml deleted file mode 100644 index ee63ba3..0000000 --- a/.github/workflows/doxygen-doc-cpp.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Generate and Deploy Doxygen for C++ Code - -on: - push: - branches: - - main - workflow_dispatch: - -jobs: - doxygen_generation_cpp: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: DenverCoder1/doxygen-github-pages-action@v2.0.0 - with: - github_token: ${{ secrets.DOXYGEN_DEPLOY_TOKEN }} - branch: gh-pages-cpp - config_file: ./.github/Doxyfile-cpp - doxygen_version: 1.9.6 diff --git a/.github/workflows/doxygen-doc-python.yml b/.github/workflows/doxygen-doc-python.yml deleted file mode 100644 index 2fbc3ca..0000000 --- a/.github/workflows/doxygen-doc-python.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Generate and Deploy Doxygen for Python Code - -on: - push: - branches: - - main - workflow_dispatch: - -jobs: - doxygen_generation_python: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: DenverCoder1/doxygen-github-pages-action@v2.0.0 - with: - github_token: ${{ secrets.DOXYGEN_DEPLOY_TOKEN }} - branch: gh-pages-python - config_file: ./.github/Doxyfile-python - doxygen_version: 1.9.6 diff --git a/.github/workflows/doxygen-doc.yml b/.github/workflows/doxygen-doc.yml new file mode 100644 index 0000000..1f68dcf --- /dev/null +++ b/.github/workflows/doxygen-doc.yml @@ -0,0 +1,30 @@ +name: Generate and Deploy Doxygen for C++ and Python Code + +on: + push: + branches: [main] + workflow_dispatch: + +jobs: + doxygen_generation: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Generate Doxygen for C++ + uses: mattnotmitt/doxygen-action@v1 + with: + doxyfile-path: ".github/Doxyfile-cpp" + + - name: Generate Doxygen for Python + uses: mattnotmitt/doxygen-action@v1 + with: + doxyfile-path: ".github/Doxyfile-python" + + - name: Deploy Doxygen page + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: gh-pages + publish_dir: docs diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..043eadd --- /dev/null +++ b/docs/index.html @@ -0,0 +1,162 @@ + + + + + + YASMIN Documentation + + + +
+ + YASMIN Logo + +

YASMIN Documentation

+
+
+ + + +