File tree Expand file tree Collapse file tree 4 files changed +80
-1
lines changed
Expand file tree Collapse file tree 4 files changed +80
-1
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ push :
4+ branches :
5+ - main
6+
7+ permissions :
8+ contents : write
9+
10+ jobs :
11+ deploy :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v6
15+ with :
16+ fetch-depth : 0
17+
18+ - name : Configure Git Credentials
19+ run : |
20+ git config user.name github-actions[bot]
21+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
22+
23+ - uses : actions/setup-python@v6
24+ with :
25+ python-version : 3.x
26+
27+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
28+
29+ - uses : actions/cache@v5
30+ with :
31+ key : mkdocs-materialx-${{ env.cache_id }}
32+ path : ~/.cache
33+ restore-keys : |
34+ mkdocs-materialx-
35+
36+ - run : |
37+ sudo apt-get update
38+ sudo apt-get install -y pngquant
39+ pip install \
40+ mkdocs-materialx \
41+ mkdocs-git-revision-date-localized-plugin \
42+ mkdocs-git-committers-plugin-2
43+
44+ - run : mkdocs gh-deploy --force
Original file line number Diff line number Diff line change 1+ # 1 型糖尿病生存指南
2+
3+ 本书以 CC-BY-SA 3.0 许可证授权,您可以自由地 ** 分发、修改、共享** 这本书,但是需要 ** 保持相同许可证、声明原作者、保留原文来源** 。
4+
5+ ** 注意:本书仍在编写,且内容需要整理。**
6+
7+ 本文作者也是 1 型糖尿病患者。
8+
9+ ## 免责声明
10+
11+ 本书皆在为 1 型糖尿病患者解答疑问、提供一些饮食建议,但是不建议当作专业的医学建议,本书内容仅是作者个人经验和网络上的信息搜集,具体治疗需要询问医生。
12+
13+ 作者不对一切后果负责任。
Original file line number Diff line number Diff line change 1+ # 1 型糖尿病生存指南
2+
13本书以 CC-BY-SA 3.0 许可证授权,您可以自由地 ** 分发、修改、共享** 这本书,但是需要 ** 保持相同许可证、声明原作者、保留原文来源** 。
24
35** 注意:本书仍在编写,且内容需要整理。**
Original file line number Diff line number Diff line change @@ -5,14 +5,34 @@ repo_name: mumu-lhl/t1d-survival-guide
55edit_uri : edit/main/docs/
66
77theme :
8- name : material
8+ name : materialx
99 features :
1010 - content.action.edit
1111 - content.action.view
1212
1313 - search.suggest
1414 - search.share
1515
16+ palette :
17+ - media : " (prefers-color-scheme)"
18+ toggle :
19+ icon : material/brightness-auto
20+ name : Switch to light mode
21+ - media : " (prefers-color-scheme: light)"
22+ scheme : default
23+ primary : blue
24+ accent : light blue
25+ toggle :
26+ icon : material/weather-sunny
27+ name : Switch to dark mode
28+ - media : " (prefers-color-scheme: dark)"
29+ scheme : slate
30+ primary : cyan
31+ accent : cyan
32+ toggle :
33+ icon : material/brightness-4
34+ name : Switch to system preference
35+
1636plugins :
1737 - git-revision-date-localized :
1838 enable_creation_date : true
You can’t perform that action at this time.
0 commit comments