13 Commits

Author SHA1 Message Date
Feng Ruohang
21cc4cfa0d chore: upgrade OINK and retire GitHub Pages 2026-08-28 12:44:39 +08:00
Feng Ruohang
661e5797c8 chore: upgrade site to OINK v0.7.0
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-25 08:20:11 +08:00
Feng Ruohang
350a6fec49 chore: upgrade site to OINK v0.6.1
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q5fpzsubpJfWQmjwksWKUC
2026-08-22 20:36:47 +08:00
Feng Ruohang
dbdc4d06c4 chore: upgrade site to OINK v0.6.0 2026-08-21 00:42:24 +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
7599431e27 build(deps): upgrade OINK to v0.4.0 2026-08-14 11:02:41 +08:00
Feng Ruohang
53cd0cd6c0 feat: upgrade documentation site to OINK 0.3.0 2026-08-13 08:45:51 +08:00
Feng Ruohang
43d60aa04e chore: upgrade Hugo and Hextra 2026-07-30 22:13:00 +08:00
Feng Ruohang
b86d77288e bump hextra to the latest version 2025-08-31 20:12:32 +08:00
Feng Ruohang
65c0866727 add o'reilly 1st/2nd book links 2025-08-03 20:39:38 +08:00
Feng Ruohang
c9e829646a chore: clean up docsify resources 2025-07-31 11:04:05 +08:00
Feng Ruohang
83d41128f2 add hugo resource 2025-07-31 07:38:42 +08:00