Expand install and use instructions. #6
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: Build online docs | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/build-online-docs.yml' | |
- 'docs/**' | |
- 'include/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build online documentation | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Doxygen | |
run: | | |
sudo apt-get -q -o=Dpkg::Use-Pty=0 -y install doxygen graphviz | |
- name: Generate documentation | |
working-directory: docs/doxygen | |
run: | | |
doxygen Doxyfile | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/doxygen/out/html |