File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish to GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - master
8+
9+ permissions :
10+ contents : write
11+
12+ jobs :
13+ deploy :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+
20+ - uses : actions/setup-python@v5
21+ with :
22+ python-version : 3.x
23+
24+ - uses : actions/cache@v4
25+ with :
26+ key : ${{ github.ref }}
27+ path : .cache
28+
29+ - name : Install dependencies
30+ run : pip install -r requirements.txt
31+
32+ - name : Deploy
33+ run : mkdocs gh-deploy --force
Original file line number Diff line number Diff line change 11site_name : QrCraft 开发文档
2- site_url : https://github.com/USERNAME/qrcraft
2+ # site_url: https://github.com/USERNAME/qrcraft
33site_description : Qt/C++/QML 开发文档与组件库
44
5- # 文档根目录设为当前目录
6- docs_dir : .
5+ # 文档根目录设为 docs 目录
6+ docs_dir : docs
77
88theme :
99 name : material
Original file line number Diff line number Diff line change 1+ mkdocs-material
2+ mkdocs
You can’t perform that action at this time.
0 commit comments