doc: Added doxygen support #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: [push, pull_request, workflow_dispatch] | |
permissions: | |
contents: write | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
python -m pip install sphinx-toolbox | |
pip install sphinx sphinx_rtd_theme myst_parser | |
- name: Sphinx build | |
run: | | |
sphinx-build doc/sphinx doc/sphinx/_build | |
- name: Deploy sphinx to GitHub Pages | |
uses: actions/deploy-pages@v4 | |
with: | |
artifact_name: gh-pages | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# - name: Deploy doxygen to GitHub Pages | |
# uses: DenverCoder1/[email protected] | |
# with: | |
# branch: gh-pages | |
# github_token: ${{ secrets.GITHUB_TOKEN }} | |
# folder: doc/doxygen/html | |
# config_file: doc/doxygen/Doxyfile |