-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Expand file tree
/
Copy pathhugo.yaml
More file actions
412 lines (401 loc) · 13.4 KB
/
Copy pathhugo.yaml
File metadata and controls
412 lines (401 loc) · 13.4 KB
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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
baseURL: 'https://ddia.vonng.com/'
locale: 'zh-CN'
title: '设计数据密集型应用(第二版)'
enableRobotsTXT: true
enableGitInfo: true
hasCJKLanguage: true
services:
googleAnalytics:
id: G-SGY2FPH1EG
# OINK leaves generated surfaces to the consumer site. Markdown powers the
# page actions, LLMS emits llms.txt, and print enables whole-book views.
outputs:
home: [HTML, print, markdown, LLMS]
page: [HTML, markdown]
section: [HTML, RSS, print, markdown]
module:
imports:
- path: github.com/pgsty/oink
defaultContentLanguage: zh
languages:
zh:
label: 简体 · 二版
locale: zh-CN
contentDir: content/zh
weight: 1
title: 设计数据密集型应用(第二版)
params:
description: DDIA 第二版中文翻译,系统讲解数据模型、存储、事务、分布式系统、批处理与流处理。
version: v2
version_menu: 第二版
versions:
- { name: 第二版, version: v2, url: 'https://ddia.vonng.com/' }
- { name: 第一版, version: v1, url: '/v1/' }
comments:
giscus:
ariaLabel: 评论
errorMessage: 评论加载失败,请稍后重试。
time_format_default: '2006-01-02'
ui:
command_palette:
commands:
- id: start_reading
title: 从第一章开始阅读
description: 进入第二版第一章“数据系统架构中的权衡”
url: /ch1/
icon: fa-solid fa-book-open
keywords: [开始, 阅读, 第一章]
- id: browse_glossary
title: 浏览术语表
description: 查找本书中的数据系统术语
url: /glossary/
icon: fa-solid fa-spell-check
keywords: [术语, 定义, glossary]
- id: print_book
title: 打印整本书
description: 打开第二版整书打印视图,可另存为 PDF
url: /_print/
icon: fa-solid fa-print
keywords: [整书, 打印, PDF, print]
menus:
main:
- identifier: read
name: 阅读
pageRef: /toc
weight: 10
params: { icon: fa-solid fa-book-open }
- identifier: toc
parent: read
name: 完整目录
pageRef: /toc
weight: 10
params: { icon: fa-solid fa-list, description: 浏览第二版十四章与三个部分 }
- identifier: glossary
parent: read
name: 术语表
pageRef: /glossary
weight: 20
params: { icon: fa-solid fa-spell-check, description: 快速查找数据系统核心术语 }
- identifier: indexes
parent: read
name: 索引
pageRef: /indexes
weight: 30
params: { icon: fa-solid fa-arrow-down-a-z, description: 按主题定位第二版内容 }
- identifier: contribute
name: 贡献
pageRef: /contrib
weight: 20
params: { icon: fa-solid fa-code-pull-request }
tw:
label: 繁體 · 二版
locale: zh-TW
contentDir: content/tw
weight: 2
title: 設計資料密集型應用(第二版)
params:
description: DDIA 第二版繁體中文翻譯,系統講解資料模型、儲存、事務、分散式系統、批次處理與串流處理。
version: v2
version_menu: 第二版
versions:
- { name: 第二版, version: v2, url: '/tw/' }
- { name: 第一版, version: v1, url: '/v1_tw/' }
comments:
giscus:
ariaLabel: 評論
errorMessage: 評論載入失敗,請稍後再試。
time_format_default: '2006-01-02'
ui:
command_palette:
commands:
- id: start_reading
title: 從第一章開始閱讀
description: 進入第二版第一章「資料系統架構中的權衡」
url: /ch1/
icon: fa-solid fa-book-open
keywords: [開始, 閱讀, 第一章]
- id: browse_glossary
title: 瀏覽術語表
description: 查找本書中的資料系統術語
url: /glossary/
icon: fa-solid fa-spell-check
keywords: [術語, 定義, glossary]
- id: print_book
title: 列印整本書
description: 開啟第二版整書列印檢視,可另存為 PDF
url: /_print/
icon: fa-solid fa-print
keywords: [整書, 列印, PDF, print]
menus:
main:
- identifier: read
name: 閱讀
pageRef: /toc
weight: 10
params: { icon: fa-solid fa-book-open }
- identifier: toc
parent: read
name: 完整目錄
pageRef: /toc
weight: 10
params: { icon: fa-solid fa-list, description: 瀏覽第二版十四章與三個部分 }
- identifier: glossary
parent: read
name: 術語表
pageRef: /glossary
weight: 20
params: { icon: fa-solid fa-spell-check, description: 快速查找資料系統核心術語 }
- identifier: indexes
parent: read
name: 索引
pageRef: /indexes
weight: 30
params: { icon: fa-solid fa-arrow-down-a-z, description: 按主題定位第二版內容 }
- identifier: contribute
name: 貢獻
pageRef: /contrib
weight: 20
params: { icon: fa-solid fa-code-pull-request }
v1:
label: 简体 · 一版
locale: zh-CN
contentDir: content/v1
weight: 3
title: 设计数据密集型应用(第一版)
params:
description: DDIA 第一版中文翻译,涵盖可靠性、数据模型、存储、复制、分区、事务与派生数据。
version: v1
version_menu: 第一版
# The fragment keeps OINK from treating the site's base URL as active
# while this language site is serving the first edition.
versions:
- { name: 第二版, version: v2, url: 'https://ddia.vonng.com/#' }
- { name: 第一版, version: v1, url: '/v1/' }
comments:
giscus:
ariaLabel: 评论
errorMessage: 评论加载失败,请稍后重试。
time_format_default: '2006-01-02'
ui:
command_palette:
commands:
- id: start_reading
title: 从第一章开始阅读
description: 进入第一版第一章“可靠性、可伸缩性和可维护性”
url: /ch1/
icon: fa-solid fa-book-open
keywords: [开始, 阅读, 第一章]
- id: browse_glossary
title: 浏览术语表
description: 查找第一版中的数据系统术语
url: /glossary/
icon: fa-solid fa-spell-check
keywords: [术语, 定义, glossary]
- id: print_book
title: 打印整本书
description: 打开第一版整书打印视图,可另存为 PDF
url: /_print/
icon: fa-solid fa-print
keywords: [整书, 打印, PDF, print]
menus:
main:
- identifier: read
name: 阅读
pageRef: /toc
weight: 10
params: { icon: fa-solid fa-book-open }
- identifier: toc
parent: read
name: 完整目录
pageRef: /toc
weight: 10
params: { icon: fa-solid fa-list, description: 浏览第一版十二章与三个部分 }
- identifier: glossary
parent: read
name: 术语表
pageRef: /glossary
weight: 20
params: { icon: fa-solid fa-spell-check, description: 快速查找数据系统核心术语 }
- identifier: colophon
parent: read
name: 后记
pageRef: /colophon
weight: 30
params: { icon: fa-solid fa-feather-pointed, description: 阅读第一版译者与作者后记 }
- identifier: contribute
name: 贡献
pageRef: /contrib
weight: 20
params: { icon: fa-solid fa-code-pull-request }
v1_tw:
label: 繁體 · 一版
locale: zh-TW
contentDir: content/v1_tw
weight: 4
title: 設計資料密集型應用(第一版)
params:
description: DDIA 第一版繁體中文翻譯,涵蓋可靠性、資料模型、儲存、複製、分割槽、事務與衍生資料。
version: v1
version_menu: 第一版
versions:
- { name: 第二版, version: v2, url: '/tw/' }
- { name: 第一版, version: v1, url: '/v1_tw/' }
comments:
giscus:
ariaLabel: 評論
errorMessage: 評論載入失敗,請稍後再試。
time_format_default: '2006-01-02'
ui:
command_palette:
commands:
- id: start_reading
title: 從第一章開始閱讀
description: 進入第一版第一章「可靠性、可伸縮性和可維護性」
url: /ch1/
icon: fa-solid fa-book-open
keywords: [開始, 閱讀, 第一章]
- id: browse_glossary
title: 瀏覽術語表
description: 查找第一版中的資料系統術語
url: /glossary/
icon: fa-solid fa-spell-check
keywords: [術語, 定義, glossary]
- id: print_book
title: 列印整本書
description: 開啟第一版整書列印檢視,可另存為 PDF
url: /_print/
icon: fa-solid fa-print
keywords: [整書, 列印, PDF, print]
menus:
main:
- identifier: read
name: 閱讀
pageRef: /toc
weight: 10
params: { icon: fa-solid fa-book-open }
- identifier: toc
parent: read
name: 完整目錄
pageRef: /toc
weight: 10
params: { icon: fa-solid fa-list, description: 瀏覽第一版十二章與三個部分 }
- identifier: glossary
parent: read
name: 術語表
pageRef: /glossary
weight: 20
params: { icon: fa-solid fa-spell-check, description: 快速查找資料系統核心術語 }
- identifier: colophon
parent: read
name: 後記
pageRef: /colophon
weight: 30
params: { icon: fa-solid fa-feather-pointed, description: 閱讀第一版譯者與作者後記 }
- identifier: contribute
name: 貢獻
pageRef: /contrib
weight: 20
params: { icon: fa-solid fa-code-pull-request }
markup:
goldmark:
extensions:
footnote: true
linkify: true
table: true
taskList: true
typographer: true
passthrough:
enable: true
delimiters:
block:
- ['\[', '\]']
- ['$$', '$$']
inline:
- ['\(', '\)']
parser:
attribute: true
autoHeadingID: true
autoHeadingIDType: github
renderer:
unsafe: true
highlight:
noClasses: false
tableOfContents:
startLevel: 2
endLevel: 4
params:
description: DDIA 中文翻译,关于数据密集型应用架构与设计的开放阅读版本。
logo: logo.png
github_repo: https://github.com/Vonng/ddia
github_project_repo: https://github.com/Vonng/ddia
github_branch: main
copyright:
authors: '[中文翻译贡献者](/contrib/) 与 DDIA 翻译贡献者'
from_year: 2017
to_year: present
# Local, language-aware full-text search.
offlineSearch: true
offlineSearchIndex: content
offlineSearchSummaryLength: 120
offlineSearchMaxResults: 12
page_width: wide
# Book content follows the normal publication measure; individual pages may
# opt into slim or wide in front matter.
content_width: norm
version_menu_pagelinks: false
comments:
enable: true
type: giscus
giscus:
repo: Vonng/ddia
repoId: MDEwOlJlcG9zaXRvcnkxMjA3MTA2NDQ
category: Announcements
categoryId: DIC_kwDOBzHl9M4CtlWB
mapping: pathname
strict: 0
reactionsEnabled: 1
emitMetadata: 0
inputPosition: bottom
theme: auto
lightTheme: light
darkTheme: dark
loading: lazy
ui:
quick_links: [read, contribute]
showLightDarkModeMenu: true
sidebar_icon_policy: groups
sidebar_menu_compact: true
sidebar_menu_foldable: true
sidebar_root_enabled: true
sidebar_root_menu: false
sidebar_width_min: 300
sidebar_width_max: 448
sidebar_item_overflow: ellipsis
sidebar_menu_truncate: 2000
# The right rail already owns the page outline; keep the chapter tree flat.
sidebar_headings: false
ul_show: 2
book_draft_banner: true
pager:
types: [book]
keyboard_nav:
enable: true
page_context_menu:
enable: true
# Assistant handoffs stay disabled: activating them discloses the full
# browser URL (including query and fragment) to a third party.
assistant_links: false
links: []
# Numbered Book figures now carry caption-backed alternatives and stable
# intrinsic dimensions, so zoom remains accessible without layout shift.
image_zoom:
enable: true
typography:
preset: system
lastmod_commit: hash
feedback:
enable: false
readingtime:
enable: false
scrollSpy:
disable: false