Files
ddia/data/footer/tw.yaml
Feng Ruohang 93de44150c feat: migrate the book to OINK 0.5
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>
2026-08-21 00:42:24 +08:00

30 lines
1.4 KiB
YAML

# DDIA fat footer (data/footer/<lang>.yaml); OINK 0.5 moved this out of data/home.
brand:
name: DDIA 中文版
tagline: '**D**esigning **D**ata-**I**ntensive **A**pplications'
slogan: 設計、實作與評價現代資料系統的思維框架
columns:
- title: 閱讀
links:
- { label: 完整目錄, url: toc/ }
- { label: 序言, url: preface/ }
- { label: 術語表, url: glossary/ }
- { label: 索引, url: indexes/ }
- title: 主題
links:
- { label: 第一部分 · 資料系統基礎, url: part-i/ }
- { label: 第二部分 · 分散式資料, url: part-ii/ }
- { label: 第三部分 · 衍生資料, url: part-iii/ }
- { label: 版本與語言, url: '#faq' }
- title: 專案
links:
- { label: 貢獻者, url: contrib/ }
- { label: GitHub, url: 'https://github.com/Vonng/ddia', external: true }
- { label: 問題回饋, url: 'https://github.com/Vonng/ddia/issues', external: true }
- { label: 譯者部落格, url: 'https://vonng.com', external: true }
- title: 原作
links:
- { label: Martin Kleppmann, url: 'https://martin.kleppmann.com', external: true }
- { label: DDIA 第二版, url: 'https://www.oreilly.com/library/view/designing-data-intensive-applications/9781098119058/', external: true }
- { label: DDIA 第一版, url: 'https://www.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/', external: true }