Skip to content

Commit

Permalink
doc: Added doxygen support
Browse files Browse the repository at this point in the history
Signed-off-by: MPhalke <[email protected]>
  • Loading branch information
mphalke committed Jan 11, 2024
1 parent d1237be commit 53f9521
Show file tree
Hide file tree
Showing 2 changed files with 2,678 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,40 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/setup-python@v3
with:
submodules: recursive

- name: Install dependencies
run: |
python -m pip install sphinx-toolbox
pip install sphinx sphinx_rtd_theme myst_parser
sudo apt-get install doxygen graphviz -y
- name: Sphinx build
run: |
sphinx-build doc/sphinx _build
- name: Deploy to GitHub Pages
- name: Doxygen build
run: |
pushd doc/doxygen
doxygen Doxyfile
popd
- name: Deploy sphinx to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/
force_orphan: true

- name: Deploy doxygen to GitHub Pages
uses: DenverCoder1/doxygen-github-pages-action@v1
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/doxygen/html/
force_orphan: true
Loading

0 comments on commit 53f9521

Please sign in to comment.