2020-01-26 17:37:39 +00:00
|
|
|
name: Documentation
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
doc:
|
|
|
|
name: Deploy documentation
|
2022-05-27 05:13:44 +00:00
|
|
|
runs-on: ubuntu-22.04
|
2020-01-26 17:37:39 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: Checkout the Git repository
|
2022-05-27 05:13:44 +00:00
|
|
|
uses: actions/checkout@v3
|
2020-01-26 17:37:39 +00:00
|
|
|
|
|
|
|
- name: Install doxygen
|
|
|
|
run: |
|
2023-02-05 19:22:25 +00:00
|
|
|
wget https://www.doxygen.nl/files/doxygen-1.9.6.linux.bin.tar.gz -O - | tar -xzv --directory=/tmp/
|
|
|
|
cd /tmp/doxygen-*
|
|
|
|
sudo make install
|
2020-01-26 17:37:39 +00:00
|
|
|
sudo apt-get update
|
2023-02-05 19:22:25 +00:00
|
|
|
sudo apt-get install doxygen-latex graphviz
|
2020-01-26 17:37:39 +00:00
|
|
|
|
2021-07-18 16:39:02 +00:00
|
|
|
- name: Generate documentation
|
2020-01-26 17:37:39 +00:00
|
|
|
run: |
|
|
|
|
doxygen grrlib.doxygen >/dev/null
|
|
|
|
make --directory=latex >/dev/null
|
2020-12-14 05:54:00 +00:00
|
|
|
touch html/.nojekyll
|
|
|
|
mv latex/refman.pdf html/PDF-documentation.pdf
|
2020-01-26 17:37:39 +00:00
|
|
|
|
|
|
|
- name: Deploy to GitHub Pages
|
2022-09-08 13:34:10 +00:00
|
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
2020-10-17 01:36:22 +00:00
|
|
|
with:
|
2021-03-06 03:53:35 +00:00
|
|
|
branch: gh-pages
|
|
|
|
folder: html
|