Rename doc folder, change cpp names to match executable name, update … #136
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: Docs | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Requirements | |
run: sudo apt-get update | |
&& sudo apt-get install doxygen sphinx-doc | |
&& pip3 install --user sphinx-rtd-theme breathe sphinx-sitemap | |
- name: Checkout repo | |
uses: actions/[email protected] | |
- name: Build docs | |
run: make -C docs_sphinx html | |
&& touch docs_sphinx/_build/html/.nojekyll | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: docs_sphinx/_build/html # The folder the action should deploy. |