Update README.md #279
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: Doxygen | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
doxygen: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Doxygen and Xsltproc | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y doxygen | |
sudo apt-get install -y graphviz | |
sudo apt-get install xsltproc | |
- uses: actions/checkout@v4 | |
- name: Generate docs | |
run: doxygen Doxyfile | |
- name: Generate keywords.txt | |
run: | | |
xsltproc doxygen2keywords.xsl docs/xml/index.xml >keywords.txt | |
echo "-----------------------------------------------------------" | |
cat keywords.txt | |
echo "-----------------------------------------------------------" | |
- name: Copy confighelper.html | |
run: | | |
cp extras/confighelper/confighelper.html docs/html/ | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@releases/v4 | |
with: | |
BRANCH: gh-pages | |
FOLDER: docs/html | |