-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
243 lines (234 loc) · 8.55 KB
/
mkdocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# Project information
site_name: 重生之我用 Go 写游戏后端
site_url: https://www.hello-algo.com/
site_author: guowei-gong
site_description: 动画图解、一键运行的数据结构与算法教程
site_dir: site
# Repository
repo_name: guowei-gong/game-backend-with-go
repo_url: https://github.com/guowei-gong/game-backend-with-go
edit_uri: tree/main/docs
version: 1.1.0
# Copyright
copyright: Copyright © 2024 guowei-gong<br>The website content is licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>
# Configuration
theme:
name: material
language: zh
features:
- announce.dismiss
- content.action.edit
# - content.action.view
- content.code.annotate
- content.code.copy
- content.tabs.link
- content.tooltips
# - header.autohide
# - navigation.expand
- navigation.indexes
# - navigation.instant
# - navigation.prune
# - navigation.sections
# - navigation.tabs
# - navigation.tabs.sticky
- navigation.top
- navigation.footer
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
# - toc.integrate
palette:
- scheme: default
primary: white
accent: teal
toggle:
icon: material/theme-light-dark
name: 深色模式
- scheme: slate
primary: black
accent: teal
toggle:
icon: material/theme-light-dark
name: 浅色模式
font:
text: Noto Sans SC
code: Fira Code
favicon: assets/images/favicon.png
logo: assets/images/logo.png
icon:
logo: logo
repo: fontawesome/brands/github
edit: fontawesome/regular/pen-to-square
extra:
alternate:
- name: 简体中文
link: /
lang: zh
- name: English
link: /en/
lang: en
social:
- icon: fontawesome/brands/github
link: https://github.com/guowei-gong
- icon: fontawesome/brands/x-twitter
link: https://weizicoding.cn
generator: false
status:
new: 最近添加
# Plugins
plugins:
- search
# Extensions
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.details
# - pymdownx.emoji:
# emoji_index: !!python/name:materialx.emoji.twemoji
# emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.keys
# - pymdownx.magiclink:
# repo_url_shorthand: true
# user: squidfunk
# repo: mkdocs-material
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
extra_javascript:
- javascripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.min.js
# - javascripts/katex.js
# - https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.js
# - https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/contrib/auto-render.min.js
extra_css:
- stylesheets/extra.css
# - https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.css
# Page tree
nav:
- 序:
- chapter_hello_algo/index.md
- 第 0 章 前言:
#[icon: material/book-open-outline]
- chapter_preface/index.md
- 0.1 关于本书: chapter_preface/about_the_book.md
- 0.2 如何使用本书: chapter_preface/suggestions.md
- 0.3 小结: chapter_preface/summary.md
- 第 1 章 测试:
# [icon: material/stack-overflow]
- chapter_test/index.md
- 1.1 测试机器人: chapter_test/stack.md
- 1.2 小结: chapter_test/summary.md
- 第 2 章 热更新:
# [icon: material/calculator-variant-outline]
- chapter_hot_update/index.md
- 2.1 配置热更: chapter_hot_update/algorithms_are_everywhere.md
- 2.2 代码热更: chapter_hot_update/what_is_dsa.md
- 2.3 小结: chapter_hot_update/summary.md
- 第 3 章 网络编程:
# [icon: material/timer-sand]
- chapter_network_programming/index.md
- 3.1 组包与解包: chapter_network_programming/performance_evaluation.md
- 3.2 KCP 协议: chapter_network_programming/kcp.md
- 3.3 小结: chapter_network_programming/summary.md
- 第 4 章 数据结构:
# [icon: material/shape-outline]
- chapter_data_structure/index.md
- 4.1 Redis: chapter_data_structure/redis.md
- 4.2 十字链表: chapter_data_structure/trie.md
- 4.3 四叉树与八叉树: chapter_data_structure/classification_of_data_structure.md
- 4.4 小结: chapter_data_structure/summary.md
- 第 5 章 无锁编程:
# [icon: material/view-list-outline]
- chapter_lock_free/index.md
- 5.1 Actor 模型: chapter_lock_free/array.md
- 5.2 小结: chapter_lock_free/summary.md
- 第 6 章 断线重连:
# [icon: material/table-search]
- chapter_reconnection/index.md
- 6.1 小结: chapter_reconnection/summary.md
- 第 7 章 常见业务:
# [icon: material/graph-outline]
- chapter_business/index.md
- 7.1 排行榜: chapter_business/binary_tree.md
- 7.2 多人匹配 · 我感觉你是一位很强的魔法使: chapter_business/binary_tree_traversal.md
- 7.3 充值系统 · 每一次挥动都是致命一击: chapter_business/array_representation_of_tree.md
- 7.4 道具系统 · 没有人阻止我发动世界级道具吗: chapter_business/binary_search_tree.md
- 7.5 关卡系统: chapter_business/summary.md
- 7.6 登录注册: chapter_business/login_and_register.md
- 7.7 邮件系统: chapter_business/mail_system.md
- 7.8 管理后台: chapter_business/admin_system.md
- 7.9 小结: chapter_business/summary.md
- 第 8 章 场景管理:
# [icon: material/graphql]
- chapter_scene_management/index.md
- 8.1 帧同步: chapter_scene_management/graph.md
- 8.2 状态同步: chapter_scene_management/graph_operations.md
- 8.3 碰撞检测: chapter_scene_management/graph_traversal.md
- 8.4 消息广播: chapter_scene_management/graph_traversal.md
- 8.5 小结: chapter_scene_management/summary.md
- 第 9 章 常用算法:
# [icon: material/text-search]
- chapter_algorithm/index.md
- 9.1 战争迷雾: chapter_algorithm/binary_search.md
- 9.2 寻路算法: chapter_algorithm/binary_search.md
- 9.3 随机加权: chapter_algorithm/binary_search.md
- 9.4 小结: chapter_algorithm/summary.md
- 第 10 章 事件总线:
# [icon: material/family-tree]
- chapter_event_bus/index.md
- 10.1 全局广播: chapter_event_bus/global_broadcast.md
- 10.2 小结: chapter_event_bus/summary.md
- 第 11 章 外挂检测:
# [icon: material/family-tree]
- chapter_cheat_detection/index.md
- 11.1 通信频率: chapter_cheat_detection/communication_frequency.md
- 11.2 通信流量: chapter_cheat_detection/communication_traffic.md
- 11.3 小结: chapter_cheat_detection/summary.md
- 第 12 章 服务发现:
# [icon: material/family-tree]
- chapter_service_discovery/index.md
- 12.1 Etcd: chapter_service_discovery/etcd.md
- 12.2 Consul: chapter_service_discovery/consul.md
- 12.3 小结: chapter_service_discovery/summary.md
- 第 13 章 容器化部署:
# [icon: material/family-tree]
- chapter_containerization/index.md
- 13.1 Docker: chapter_containerization/docker.md
- 13.2 Kubernetes: chapter_containerization/kubernetes.md
- 13.3 小结: chapter_containerization/summary.md
- 第 14 章 生成配置表:
# [icon: material/family-tree]
- chapter_gen_config_table/index.md
- 14.1 Luban: chapter_gen_config_table/luban.md
- 14.2 小结: chapter_gen_config_table/summary.md
- 第 15 章 附录:
# [icon: material/help-circle-outline]
- chapter_appendix/index.md
- 15.1 编程环境安装: chapter_appendix/installation.md
- 15.2 一起参与创作: chapter_appendix/contribution.md
- 15.3 术语表: chapter_appendix/terminology.md
- 参考文献:
- chapter_reference/index.md