Skip to content

Commit

Permalink
Add Doxygen Github Action to generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shamitha-shashidhara committed Nov 8, 2024
1 parent 909e181 commit 66d0d38
Show file tree
Hide file tree
Showing 5 changed files with 2,721 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/doc-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
force_orphan: true
destination_dir: docs/sphinx
29 changes: 29 additions & 0 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and Deploy Doxygen Documentation

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
defaults:
run:
working-directory: ./doc
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install doxygen
run: sudo apt-get install doxygen

- name: Run doxygen
run: doxygen Doxyfile

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/doxygenOut/html
destination_dir: docs/doxygen
keep_files: true
Loading

0 comments on commit 66d0d38

Please sign in to comment.