Skip to content

doxygen

doxygen #182

Workflow file for this run

name: doxygen
on:
# Runs at 16:00 UTC (BeiJing 00:00) on the 1st of every month
schedule:
- cron: '0 16 * * *'
push:
branches:
- main
paths-ignore:
- 'README.md'
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-22.04
name: doxygen_doc generate
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install Tools
shell: bash
run: |
sudo apt-get update
sudo apt-get -qq install graphviz
- name: generat doxygen html
continue-on-error: true
shell: bash
run: |
wget https://github.com/doxygen/doxygen/releases/download/Release_1_13_1/doxygen-1.13.1.linux.bin.tar.gz
mkdir doxygen
tar -xzf doxygen-1.13.1.linux.bin.tar.gz -C doxygen --strip-components=1
cd doxygen
sudo make install
doxygen --version
cd ..
git submodule update --remote
ls
cp Doxyfile rt-thread/documentation/doxygen/Doxyfile
cp -r doxygen-awesome-css-main/ rt-thread/documentation/doxygen/
cd rt-thread/documentation/doxygen
doxygen -w html header.html delete_me.html delete_me.css
doxygen Doxyfile
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@main
with:
path: rt-thread/documentation/doxygen/html/
# Deployment job
deploy:
if: github.event_name == 'push'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4