From c62f43e34207390bbc5d1fba67addf1cd254c273 Mon Sep 17 00:00:00 2001 From: Aintmee <85761348+Aintdev@users.noreply.github.com> Date: Sat, 12 Sep 2026 20:15:04 +0200 Subject: [PATCH] docs(pages): added workflow docs.yml --- .github/workflows/docs.yml | 44 ++++++++++++++++++++++++++++++++++++++ .gitignore | 2 +- Docs/Doxyfile | 2 +- 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..3ac6810 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,44 @@ +name: Deploy Doxygen to Pages + +on: + push: + branches: + - master + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install Doxygen & Graphviz + run: sudo apt-get update && sudo apt-get install -y doxygen graphviz + + - name: Run Doxygen + working-directory: Docs + run: doxygen Doxyfile + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: Docs/doxygen/html + + deploy: + needs: build + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + runs-on: ubuntu-latest + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index e908f01..0474739 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,7 @@ .vs/ Binaries/ Include/ -generated/ +doxygen/ # Files *.vcxproj diff --git a/Docs/Doxyfile b/Docs/Doxyfile index 1cbc1d4..69187ab 100644 --- a/Docs/Doxyfile +++ b/Docs/Doxyfile @@ -65,7 +65,7 @@ CLANG_OPTIONS = -std=c++20 \ # Output # ------------------------------------------------------------ -OUTPUT_DIRECTORY = generated +OUTPUT_DIRECTORY = doxygen GENERATE_HTML = YES HTML_OUTPUT = html