From 696f3ed4db7349d258a85cf1a2c0b9f45f6d7cf8 Mon Sep 17 00:00:00 2001 From: Quake Date: Mon, 4 Mar 2024 21:45:37 +0100 Subject: [PATCH 1/9] fix: downgrade doxygen version --- Doxygen/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doxygen/Doxyfile b/Doxygen/Doxyfile index 7d1d53ec..6b21dce6 100644 --- a/Doxygen/Doxyfile +++ b/Doxygen/Doxyfile @@ -1,4 +1,4 @@ -# Doxyfile 1.10.0 +# Doxyfile 1.9.1 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project. From 587d8ba1698ce0e9887f44349fc6ad41f1f82645 Mon Sep 17 00:00:00 2001 From: Quake Date: Mon, 4 Mar 2024 21:46:47 +0100 Subject: [PATCH 2/9] test: try to build documentation properly --- .github/workflows/build-documentation.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index d3f78b1b..2c2201e6 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -4,6 +4,8 @@ on: push: branches: - main + pull_request: + types: [opened, synchronize, reopened] jobs: build-doxygen: @@ -24,9 +26,9 @@ jobs: - name: Create .nojekyll (ensures pages with underscores work on gh pages) run: touch Doxygen/.nojekyll shell: bash - - name: Upload Doxygen Documentation to Github Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_branch: gh-pages - publish_dir: Doxygen/Generated/html \ No newline at end of file + # - name: Upload Doxygen Documentation to Github Pages + # uses: peaceiris/actions-gh-pages@v3 + # with: + # github_token: ${{ secrets.GITHUB_TOKEN }} + # publish_branch: gh-pages + # publish_dir: Doxygen/Generated/html \ No newline at end of file From 958cdaf5b049179df1b2aec70c2e33c53c830993 Mon Sep 17 00:00:00 2001 From: Quake Date: Mon, 4 Mar 2024 21:50:14 +0100 Subject: [PATCH 3/9] test: install newer doxygen version --- .github/workflows/build-documentation.yml | 2 +- Doxygen/Doxyfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 2c2201e6..e440764e 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -18,7 +18,7 @@ jobs: with: submodules: true - name: Install Doxygen - run: sudo apt-get install -y doxygen graphviz + run: sudo apt-get install -y doxygen=1.10.0 graphviz shell: bash - name: Generate Doxygen Documentation run: doxygen Doxygen/Doxyfile diff --git a/Doxygen/Doxyfile b/Doxygen/Doxyfile index 6b21dce6..7d1d53ec 100644 --- a/Doxygen/Doxyfile +++ b/Doxygen/Doxyfile @@ -1,4 +1,4 @@ -# Doxyfile 1.9.1 +# Doxyfile 1.10.0 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project. From cb97ccb7168d5e1f2ea0fcd68fc1a5ce53ce0c1e Mon Sep 17 00:00:00 2001 From: Quake Date: Mon, 4 Mar 2024 21:53:14 +0100 Subject: [PATCH 4/9] fix: renamed doxygen package --- .github/workflows/build-documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index e440764e..d0dcca8f 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -18,7 +18,7 @@ jobs: with: submodules: true - name: Install Doxygen - run: sudo apt-get install -y doxygen=1.10.0 graphviz + run: sudo apt-get install -y doxygen-doc=1.10.0 graphviz shell: bash - name: Generate Doxygen Documentation run: doxygen Doxygen/Doxyfile From 0c20227a63d2829b8ccd7678fd5f8c802bf62837 Mon Sep 17 00:00:00 2001 From: Quake Date: Mon, 4 Mar 2024 21:56:44 +0100 Subject: [PATCH 5/9] fix: download new doxygen --- .github/workflows/build-documentation.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index d0dcca8f..44ff671b 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -18,7 +18,10 @@ jobs: with: submodules: true - name: Install Doxygen - run: sudo apt-get install -y doxygen-doc=1.10.0 graphviz + run: | + sudo apt-get install -y graphviz + wget https://www.doxygen.nl/files/doxygen-1.10.0.linux.bin.tar.gz + tar -xvf doxygen-1.10.0.linux.bin.tar.gz shell: bash - name: Generate Doxygen Documentation run: doxygen Doxygen/Doxyfile From cdf9cb02aa4a713ace88ac0d0a027cdf088b0e99 Mon Sep 17 00:00:00 2001 From: Quake Date: Mon, 4 Mar 2024 21:58:40 +0100 Subject: [PATCH 6/9] fix: move doxygen --- .github/workflows/build-documentation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 44ff671b..0de14e75 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -22,6 +22,7 @@ jobs: sudo apt-get install -y graphviz wget https://www.doxygen.nl/files/doxygen-1.10.0.linux.bin.tar.gz tar -xvf doxygen-1.10.0.linux.bin.tar.gz + sudo mv doxygen-1.10.0/bin/doxygen /usr/bin/doxygen shell: bash - name: Generate Doxygen Documentation run: doxygen Doxygen/Doxyfile From b22d25fb6dab8eefb0b4566284112463d1f8a658 Mon Sep 17 00:00:00 2001 From: Quake Date: Mon, 4 Mar 2024 21:58:50 +0100 Subject: [PATCH 7/9] fix: move doxygen --- .github/workflows/build-documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 0de14e75..69b515d2 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -25,7 +25,7 @@ jobs: sudo mv doxygen-1.10.0/bin/doxygen /usr/bin/doxygen shell: bash - name: Generate Doxygen Documentation - run: doxygen Doxygen/Doxyfile + run: /usr/bin/doxygen Doxygen/Doxyfile shell: bash - name: Create .nojekyll (ensures pages with underscores work on gh pages) run: touch Doxygen/.nojekyll From 19bce445bfd2dbf38057767c2c33667d058794b4 Mon Sep 17 00:00:00 2001 From: Quake Date: Mon, 4 Mar 2024 22:00:43 +0100 Subject: [PATCH 8/9] chore: clean up workflow file for merge --- .github/workflows/build-documentation.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 69b515d2..b1e342fd 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -4,8 +4,6 @@ on: push: branches: - main - pull_request: - types: [opened, synchronize, reopened] jobs: build-doxygen: @@ -30,9 +28,9 @@ jobs: - name: Create .nojekyll (ensures pages with underscores work on gh pages) run: touch Doxygen/.nojekyll shell: bash - # - name: Upload Doxygen Documentation to Github Pages - # uses: peaceiris/actions-gh-pages@v3 - # with: - # github_token: ${{ secrets.GITHUB_TOKEN }} - # publish_branch: gh-pages - # publish_dir: Doxygen/Generated/html \ No newline at end of file + - name: Upload Doxygen Documentation to Github Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: gh-pages + publish_dir: Doxygen/Generated/html \ No newline at end of file From 43b2d34f8e7c0aa68993f6a2199cfbf380a5f1af Mon Sep 17 00:00:00 2001 From: Quake Date: Mon, 4 Mar 2024 22:08:38 +0100 Subject: [PATCH 9/9] chore: change to checkout v4 --- .github/workflows/build-documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index b1e342fd..24cd8ca8 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -12,7 +12,7 @@ jobs: permissions: write-all steps: - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true - name: Install Doxygen