Commit c26f59c 1 parent 7ad2c8e commit c26f59c Copy full SHA for c26f59c
File tree 3 files changed +13
-5
lines changed
3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 38
38
39
39
- name : Compile PDF document
40
40
run : |
41
- ls site site/print_page
42
41
node misc/export_to_pdf.js file://$PWD/site/print_page/index.html cppguidebook.pdf "小彭老师的现代 C++ 大典"
42
+ du -h cppguidebook.pdf
43
+
44
+ - name : Generate ZIP site
45
+ run : |
46
+ zip -r cppguidebook-site.zip site
43
47
44
48
- name : Deploy
45
49
uses : peaceiris/actions-gh-pages@v4
73
77
> GitHub 卡顿,无法下载?访问 [小彭老师自己维护的镜像](${{ env.MIRROR_SITE_URL }}/cppguidebook.pdf)。
74
78
> 喜欢在线阅读?访问 [GitHub Pages](https://parallel101.github.io/cppguidebook)
75
79
tag_name : ${{ steps.tag.outputs.release_tag }}
76
- files : cppguidebook.pdf
80
+ files :
81
+ - cppguidebook.pdf
82
+ - cppguidebook-site.zip
77
83
78
84
- name : Publish to mirror site
79
85
continue-on-error : true
Original file line number Diff line number Diff line change 7
7
8
8
## 在哪里可以看?
9
9
10
- 本书托管在 GitHub Pages, 无需下载,[ 点击开始在线阅读] ( https://parallel101.github.io/cppguidebook ) 。
10
+ 无需下载,[ 点击开始在线阅读] ( https://parallel101.github.io/cppguidebook ) 。
11
11
12
12
> [ !TIP]
13
13
> GitHub Pages 是实时更新的,每当小彭老师推送了新章节,网页都会自动更新哦。
Original file line number Diff line number Diff line change 1
- ## 小彭老师现代 C++ 大典
1
+ # 小彭老师现代 C++ 大典
2
2
3
3
小彭大典是一本关于现代 C++ 编程的权威指南,它涵盖了从基础知识到高级技巧的内容,适合初学者和有经验的程序员阅读。本书由小彭老师亲自编写,通过简单易懂的语言和丰富的示例,帮助读者快速掌握 C++ 的核心概念,并学会如何运用它们来解决实际问题。
4
4
5
- [ 点击此处开始阅读] ( start.md )
5
+ [ 点击此处开始阅读第一章] ( start.md )
6
+
7
+ 你也可以在本页面上方导航栏的“章节列表”中,选择感兴趣的章节阅读。
6
8
7
9
本书完全开源和免费,GitHub 仓库:https://github.com/parallel101/cppguidebook
8
10
You can’t perform that action at this time.
0 commit comments