16 Commits

Author SHA1 Message Date
Feng Ruohang
2c706dbd70 docs: refresh contributor credits and sync Traditional Chinese 2026-08-28 16:37:54 +08:00
Feng Ruohang
68e7ba0ca7 docs: standardize sibling value terminology (#395) 2026-08-28 16:10:52 +08:00
Feng Ruohang
54d794eaa6 style(markdown): normalize Chinese emphasis
Align second-edition Chinese emphasis with the English manuscript semantics, reserve strong markup for intentional credits, and add outside spaces where word characters touch emphasis delimiters. Regenerate Traditional Chinese from the Simplified Chinese authority and add a reusable check/write formatter.
2026-08-28 13:53:26 +08:00
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
Feng Ruohang
5e03a6d37d refactor with the oink hugo theme 2026-08-14 22:18:15 +08:00
Feng Ruohang
5f69f6357d calibrate with codex 5.6 sol max 2026-08-10 21:46:52 +08:00
Feng Ruohang
661692fc4f fix missing img and anchor 2026-02-15 15:53:37 +08:00
Feng Ruohang
52f5581c80 add zh-tw update 2026-02-15 13:32:02 +08:00
huang06
6b5ac3c315 docs(tw): Correct normalization/denormalization terminology 2025-11-15 12:26:23 +08:00
Shang-Hao Yang
04d89c75cf update zh-tw.py and zh-tw content 2025-08-26 13:17:46 +08:00
Gang Yin
29cd64cb13 update zh-tw.py and zh-tw content 2025-08-25 10:29:05 +08:00
Shang-Hao Yang
1c17625f53 fix typo 2025-08-24 20:47:20 +08:00
Feng Ruohang
8efd0b7f46 fix broken links 2025-08-11 09:36:28 +08:00
Feng Ruohang
ea527cdc8f add v1 images 2025-08-10 18:26:22 +08:00
Feng Ruohang
7c17fcfaa1 add tw translation 2025-08-10 16:13:19 +08:00
Feng Ruohang
a8c07bb5e6 move zh-tw to content/tw 2025-07-31 07:24:12 +08:00