Skip to content

Commit aa7cb4e

Browse files
committed
build doc
1 parent a208859 commit aa7cb4e

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/docs.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish Documentation on Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
deploy-docs:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@v2
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: '15'
19+
20+
- name: Install Doxygen
21+
run: sudo apt-get install doxygen
22+
23+
- name: Generate Doxygen Documentation
24+
run: doxygen Doxyfile
25+
26+
- name: Deploy to GitHub Pages
27+
uses: peaceiris/actions-gh-pages@v3
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
publish_dir: ./docs/html

Doxyfile

+1
Original file line numberDiff line numberDiff line change
@@ -2689,3 +2689,4 @@ GENERATE_LEGEND = YES
26892689
# The default value is: YES.
26902690

26912691
DOT_CLEANUP = YES
2692+
GENERATE_HTML = YES

0 commit comments

Comments
 (0)