Skip to content

Commit 2625ebd

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

7 files changed

Lines changed: 3090 additions & 2 deletions

File tree

.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 others/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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*I'm sorry, generate through document annotations, only zh_cn.*
4040

4141
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓<br>
42-
[C++Doxygen文档](https://mysvac.github.io/cpp-jsonlib/documents/html/index.html)<br>
42+
[C++Doxygen文档](https://mysvac.github.io/cpp-jsonlib/)<br>
4343
↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
4444

4545
## Application examples
@@ -399,7 +399,7 @@ Worst-case complexity:
399399
400400
## 文档
401401
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓<br>
402-
[C++Doxygen文档](https://mysvac.github.io/cpp-jsonlib/documents/html/index.html)<br>
402+
[C++Doxygen文档](https://mysvac.github.io/cpp-jsonlib/)<br>
403403
↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
404404
405405
## 应用示例

0 commit comments

Comments
 (0)