mirror of
https://github.com/Vonng/ddia.git
synced 2026-08-28 17:53:30 +08:00
go.mod moves from oink v0.4.1 to v0.5.0 and the site drops the local
overrides the theme now ships: layouts/_shortcodes/contributors.html and
the leaf `example` shortcode, replaced by `eg`. Callout bodies become
blockquote continuation lines, standalone images become bare block-level
`img.td-image` (`wrapStandAloneImageWithinParagraph: false`), and the fat
footer moves from data/home/<lang>.yaml to data/footer/<lang>.yaml.
Makefile gains `serve` and a strict `check` target.
All eleven numbered tables move from the `{{< tbl >}}` wrapper to the
native form -- the pipe table followed by `{#id num="1-2" caption="…"}`.
That is what makes footnotes work inside a table: a shortcode body is a
separate Goldmark document, so `[^25]` in a cell printed literally, as it
did in three cells of table 1-2 and in table 8-1. The native table keeps
its cells in the page document, so the references number, link and
backlink like every other footnote. The rendered figure is unchanged.
OINK now fails the build on that pattern instead of publishing it.
bin/preprocess-epub.py learns the same form: a pipe table followed by an
attribute line carrying `num` becomes the Pandoc `.book-table` div that
the shortcode produced, so the EPUB keeps its numbered, anchored tables
(check-epub: chapters=23 figures=106 tables=3 errors=0).
_styles_project.scss follows OINK's reworked `eg`, which now frames the
whole figure with the caption as its header row: the DDIA accent and
surface move from the caption bar to the frame.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
115 lines
4.6 KiB
YAML
115 lines
4.6 KiB
YAML
sections:
|
||
- hero
|
||
- metrics
|
||
- gallery
|
||
- principles
|
||
- faq
|
||
- cta
|
||
|
||
hero:
|
||
eyebrow: DDIA · 第一版中文翻译
|
||
title: 设计**数据密集型**应用
|
||
title_size: 4.45rem
|
||
lead: 完整保留第一版中文译文,沿着可靠性、分布式数据与派生数据三条主线理解现代数据系统。
|
||
note: 这是第一版阅读入口;可随时通过版本菜单切换到第二版。
|
||
image:
|
||
light: title-v1.jpg
|
||
dark: title-v1.jpg
|
||
alt: 《设计数据密集型应用》第一版英文原书封面
|
||
actions:
|
||
- label: 查看完整目录
|
||
url: toc/
|
||
icon: fa-solid fa-list
|
||
style: primary
|
||
- label: 从序言开始
|
||
url: preface/
|
||
icon: fa-solid fa-book-open
|
||
style: ghost
|
||
- label: 整书打印
|
||
url: _print/
|
||
icon: fa-solid fa-print
|
||
style: ghost
|
||
|
||
metrics:
|
||
eyebrow: 第一版
|
||
title: 经典结构,完整保留
|
||
desc: 第一版的章节与引用仍被广泛使用,适合顺序阅读,也适合与第二版对照。
|
||
columns: 4
|
||
link_label: 查看
|
||
items:
|
||
- { value: '12', label: 章, desc: 从可靠性到数据系统的未来, icon: fa-solid fa-book, url: toc/ }
|
||
- { value: '3', label: 部分, desc: 基础、分布式与派生数据, icon: fa-solid fa-layer-group, url: part-i/ }
|
||
- { value: '4', label: 阅读版本, desc: 两版 × 简繁中文, icon: fa-solid fa-language }
|
||
- { value: '90', label: 编号插图, desc: 稳定图号、交叉引用与缩放, icon: fa-solid fa-diagram-project, url: toc/#list-of-figures }
|
||
|
||
gallery:
|
||
eyebrow: 阅读路线
|
||
title: 第一版的三部分结构
|
||
desc: 从单个数据系统的基本属性出发,进入分布式机制,最后连接批处理、流处理与数据集成。
|
||
columns: 3
|
||
link_label: 进入本部分
|
||
items:
|
||
- title: 第一部分 · 数据系统基础
|
||
badge: 第 1–4 章
|
||
icon: fa-solid fa-database
|
||
desc: 可靠性、可伸缩性、可维护性,以及数据模型、存储和编码演化。
|
||
url: part-i/
|
||
- title: 第二部分 · 分布式数据
|
||
badge: 第 5–9 章
|
||
icon: fa-solid fa-network-wired
|
||
desc: 复制、分区、事务、分布式系统故障,以及一致性与共识。
|
||
url: part-ii/
|
||
- title: 第三部分 · 派生数据
|
||
badge: 第 10–12 章
|
||
icon: fa-solid fa-arrows-spin
|
||
desc: 批处理、流处理、数据集成,以及数据系统未来的责任与选择。
|
||
url: part-iii/
|
||
|
||
principles:
|
||
eyebrow: 这个阅读站
|
||
title: 旧版内容,现代阅读体验
|
||
columns: 3
|
||
items:
|
||
- icon: fa-solid fa-magnifying-glass
|
||
title: 搜索与命令面板
|
||
desc: 按 `⌘ K` 搜索全文与常用操作,或按 `/` 直接运行阅读、版本、语言和页面命令。
|
||
- icon: fa-solid fa-book-open-reader
|
||
title: 图表与整书出版
|
||
desc: 图号与引用语义化互联,支持高清缩放、整书打印、Markdown 与 EPUB 出版链路。
|
||
- icon: fa-solid fa-code-pull-request
|
||
title: 开放校订
|
||
desc: 页面可直接跳转 GitHub 编辑或提交问题,第一版内容同样接受勘误与改进。
|
||
|
||
faq:
|
||
eyebrow: 阅读之前
|
||
title: 关于第一版与第二版
|
||
items:
|
||
- question: 为什么仍然保留第一版?
|
||
answer: 第一版拥有不同的章节组织,许多文章、课程与讨论仍引用其中的章节编号。完整保留第一版,便于继续阅读旧链接并与第二版进行对照。
|
||
open: true
|
||
- question: 如何切换到第二版?
|
||
answer: 使用页面顶部的版本菜单即可回到同一中文字体版本的第二版;语言菜单则在简体与繁体之间切换。
|
||
- question: 这份译文可以公开发行或用于商业用途吗?
|
||
answer: 不可以。本译文仅供学习研究参考,不得公开传播发行或用于商业用途;请购买正版支持作者与出版社。
|
||
url: https://www.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/
|
||
link_label: 查看 O'Reilly 原版
|
||
external: true
|
||
- question: 如何提交勘误?
|
||
answer: 可使用页面右侧的编辑与问题入口,或直接前往 GitHub 提交 Issue 或 Pull Request。
|
||
url: https://github.com/Vonng/ddia/issues
|
||
link_label: 提交问题
|
||
external: true
|
||
|
||
cta:
|
||
title: 从经典的第一章开始。
|
||
desc: 理解可靠性、可伸缩性与可维护性,建立评价数据系统的第一套坐标系。
|
||
actions:
|
||
- label: 阅读第一章
|
||
url: ch1/
|
||
icon: fa-solid fa-arrow-right
|
||
style: primary
|
||
- label: 浏览术语表
|
||
url: glossary/
|
||
icon: fa-solid fa-spell-check
|
||
style: ghost
|