Skip to content

Commit a99e6f1

Browse files
committed
修改文档位置
1 parent 2958d8c commit a99e6f1

File tree

7 files changed

+3090
-2
lines changed

7 files changed

+3090
-2
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ CMakePresets.json export-ignore
55
README.md export-ignore
66
.gitignore export-ignore
77
.gitattributes export-ignore
8+
.github/ export-ignore

.github/workflows/doxygen.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Doxygen Docs
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
id-token: write
14+
contents: read
15+
pages: write
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
22+
- name: Install Doxygen
23+
run: sudo apt-get install doxygen graphviz
24+
25+
- name: Generate Doxygen
26+
run: doxygen Doxyfile
27+
28+
- name: Upload artifact for GitHub Pages
29+
uses: actions/upload-pages-artifact@v3
30+
with:
31+
path: ./docs/html
32+
33+
- name: Deploy to GitHub Pages
34+
if: github.ref == 'refs/heads/main'
35+
uses: actions/deploy-pages@v4
36+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.idea/
44
.vs/
55

6+
docs/
67
build/
78
vcpkg_installed/
89

0 commit comments

Comments
 (0)