Skip to content

Don't crash if no state machine has been set #19

Don't crash if no state machine has been set

Don't crash if no state machine has been set #19

Workflow file for this run

name: Generate Doxygen
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y doxygen python3-pip
sudo pip3 install pygments
- name: Download Doxygen Awesome CSS (Sidebar only)
run: |
wget https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v1.5.0/doxygen-awesome.css -O ./doxygen-awesome.css
wget https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v1.5.0/doxygen-awesome-sidebar-only.css -O ./doxygen-awesome-sidebar-only.css
- name: Setup QML highlighting script
run: |
echo "#!/bin/sh" > pygmentize_qml.sh
echo "pygmentize -l qml -f html -O full,style=default -o $2 $1" >> pygmentize_qml.sh
chmod +x pygmentize_qml.sh
- name: Setup C++ highlighting script
run: |
echo "#!/bin/sh" > pygmentize_cpp.sh
echo "pygmentize -l cpp -f html -O full,style=default -o $2 $1" >> pygmentize_cpp.sh
chmod +x pygmentize_cpp.sh
- name: Generate documentation
run: |
doxygen Doxyfile
- name: Apply Doxygen Awesome CSS (Sidebar only)
run: |
mv ./doxygen-awesome.css ./doc/
mv ./doxygen-awesome-sidebar-only.css ./doc/
- name: Deploy documentation to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.DOXYGEN }}
publish_dir: ./doc