Skip to content

Expand install and use instructions. #6

Expand install and use instructions.

Expand install and use instructions. #6

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