-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Expand file tree
/
Copy pathhugo.yaml
More file actions
232 lines (209 loc) · 5.93 KB
/
hugo.yaml
File metadata and controls
232 lines (209 loc) · 5.93 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
baseURL: 'https://ddia.vonng.com/'
languageCode: 'zh-CN'
title: '设计数据密集型应用(第二版)'
enableRobotsTXT: true
# Parse Git commit
enableGitInfo: true
# enableEmoji: false
hasCJKLanguage: true
services:
googleAnalytics:
ID: G-SGY2FPH1EG
outputs:
home: [HTML]
page: [HTML]
section: [HTML, RSS]
module:
imports:
- path: github.com/imfing/hextra
defaultContentLanguage: zh
languages:
zh:
languageName: 简体中文
languageCode: zh
contentDir: content/zh
weight: 1
title: 设计数据密集型应用(第二版)
tw:
languageName: 繁体中文
languageCode: tw
contentDir: content/tw
weight: 2
title: 設計資料密集型應用(第二版)
v1:
languageName: 简体中文第一版
languageCode: zh
contentDir: content/v1
weight: 3
title: 设计数据密集型应用(第一版)
v1_tw:
languageName: 繁体中文第一版
languageCode: tw
contentDir: content/v1_tw
weight: 4
title: 設計資料密集型應用(第一版)
#en:
# languageName: English
# languageCode: en
# contentDir: content/en
# weight: 4
# title: Designing Data-Intensive Applications 2nd Edition
markup:
goldmark:
extensions:
footnote: true # 开启脚注语法:[^id] / [^id]: text
linkify: true # 自动将 URL 文本转为链接
table: true # 启用 Markdown 表格
taskList: true # 启用任务列表 [ ] / [x]
typographer: true # 智能排版(引号、破折号等)
passthrough:
enable: true # 允许将数学定界符透传给 Hextra 的数学渲染器
delimiters:
block:
- ['\[', '\]']
- ['$$', '$$']
inline:
- ['\(', '\)']
parser:
attribute: true # 允许在标题后写 {#id .class key=val},用于显式锚点
autoHeadingID: true # 为标题自动生成 ID(手写 {#id} 会覆盖自动生成)
autoHeadingIDType: github # 自动 ID 规则:github / blackfriday / none
renderer:
unsafe: true # 允许 Markdown 中的原生 HTML(如 <a>、<details>)按原样渲染
tableOfContents:
startLevel: 2 # ToC 从 h2 开始
endLevel: 4 # ToC 到 h4 结束
menu:
main:
- name: Search
weight: 1
params:
type: search
- name: GitHub
weight: 2
url: "https://github.com/Vonng/ddia"
params:
icon: github
sidebar:
- identifier: ver
name: 语言版本
weight: 1
params:
type: separator
- identifier: simplified-chinese
name: "简体中文 ↗"
url: "/"
weight: 2
- identifier: traditional-chinese
name: "繁體中文 ↗"
url: "/tw"
weight: 3
- identifier: chinese-1st-edition
name: "简体中文初版 ↗"
url: "/v1"
weight: 4
- identifier: traditional-1st-edition
name: "繁體中文初版 ↗"
url: "/v1_tw"
weight: 5
#- identifier: english
# name: "English ↗"
# url: "/en"
# weight: 5
- identifier: more
name: 参考链接
params:
type: separator
weight: 6
- identifier: vonng
name: "博客:老冯云数 ↗"
url: "https://vonng.com"
weight: 7
- identifier: pgint
name: "PostgreSQL 内幕探索 ↗"
url: "https://pgint.vonng.com/"
weight: 8
- identifier: pgint14
name: "PostgreSQL 14 内参 ↗"
url: "https://postgres-internals.cn/"
weight: 9
- identifier: pigsty-cc
name: "Pigsty:开源 PG RDS ↗"
url: "https://pigsty.cc/"
weight: 10
- identifier: pigsty-io
name: "Pigsty: Free PG RDS ↗"
url: "https://pigsty.io/"
weight: 11
- identifier: pgext
name: "PG 扩展目录 ↗"
url: "https://ext.pgsty.com/zh"
weight: 12
- identifier: ddia1
name: "DDIA O'reilly ↗"
url: "https://www.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/"
weight: 13
- identifier: ddia2
name: "DDIA 2nd O'reilly ↗"
url: "https://www.oreilly.com/library/view/designing-data-intensive-applications/9781098119058/"
weight: 14
params:
description: DDIA2,设计数据密集型应用(第二版)中文版翻译,设计数据密集型应用是一本关于数据系统设计的书籍,它深入探讨了数据密集型应用的架构和设计原则,涵盖了模型,存储,分区,事务,分布式系统、数据存储、流处理,批处理等各种主题。
navbar:
displayTitle: true
displayLogo: true
logo:
path: /logo.png
dark: /logo.png
width: wide
page:
# full (100%), wide (90rem), normal (80rem)
width: full
theme:
# light | dark | system
default: system
displayToggle: true
footer:
enable: false
displayCopyright: true
displayPoweredBy: false
width: normal
# Display the last modification date
displayUpdatedDate: true
dateFormat: "2006-01-02"
# Search
# flexsearch is enabled by default
search:
enable: true
type: flexsearch
flexsearch:
# index page by: content | summary | heading | title
index: content
# full | forward | reverse | strict
# https://github.com/nextapps-de/flexsearch/#tokenizer-prefix-search
tokenize: forward
editURL:
enable: true
base: "https://github.com/Vonng/ddia/edit/main/content"
toc:
displayTags: true
highlight:
copy:
enable: true
# hover | always
display: hover
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
lang: zh-CN
theme: preferred_color_scheme