Skip to content

Commit

Permalink
enable doxygen
Browse files Browse the repository at this point in the history
Signed-off-by: LHT129 <[email protected]>
  • Loading branch information
LHT129 committed Dec 25, 2024
1 parent 55dcb8a commit 1355ab9
Show file tree
Hide file tree
Showing 3 changed files with 2,739 additions and 5 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/doxygen_update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Doxygen Update
on:
push:
branches:
- main
pull_request:
branches: [ "main" ]
jobs:
doxygen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
sudo apt-get install -y doxygen
python -m pip install --upgrade pip
pip install breathe
- name: Generate doxygen xml
run: doxygen
- name: Push changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "$GITHUB_ACTOR"
mv ./doxy_doc/xml ./xml
breathe-apidoc -o cpp_api xml
git add xml cpp_api
if [ -n "$(git status --porcelain)" ]
then
git commit -m "Update API Docs ($(git rev-parse --short main))."
git push origin gh-pages
fi
# git fetch origin gh-pages
# git checkout gh-pages
# git rm -rf xml cpp_api
Loading

0 comments on commit 1355ab9

Please sign in to comment.