Fix compilation (#7) #7
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: Generate and publish documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v3 | |
- name: Generate Doxygen documentation | |
uses: mattnotmitt/doxygen-action@v1.9.5 | |
with: | |
doxyfile-path: 'docs/Doxyfile' | |
- name: Process the Doxygen output using Sphinx | |
uses: ammaraskar/sphinx-action@master | |
with: | |
build-command: "sphinx-build -b html . sphinx" | |
docs-folder: 'docs/' | |
- name: Deploy to Github pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/sphinx |