Commit Graph

15 Commits

Author SHA1 Message Date
cydia2001
b9cf38a5d1 build: switch math rendering to mdbook-katex
Use mdbook-katex in pre-render mode for both books, pin mdBook to a compatible version, update build scripts and workflows, and replace the old MathJax regression tests with KaTeX coverage.
2026-03-11 02:27:46 +00:00
cydia2001
b9935b51b3 fix: reduce homepage main width floor
Lower the homepage-only mdbook-content > main minimum width from 80% to 65% while leaving normal body pages unchanged.
2026-03-11 02:13:13 +00:00
cydia2001
76a6ec062d ci: use peaceiris action for mdbook
Replace manual mdBook installation in CI and Pages workflows with peaceiris/actions-mdbook@v2 and keep a regression test to ensure the action stays in use.
2026-03-11 02:11:27 +00:00
cydia2001
ac747b0026 fix: widen homepage main content area
Apply a homepage-only override so mdbook-content > main uses at least 80% of the available content width while keeping normal body pages on the default layout.
2026-03-11 02:06:36 +00:00
cydia2001
b23ea90d90 fix: widen centered homepage container
Keep the homepage frontpage wrapper centered while ensuring it uses at least 80% of the available content area, without changing normal body page layout.
2026-03-11 01:57:47 +00:00
cydia2001
695164a266 fix: stack english homepage footer copy
Keep the English homepage contributor and errata footer lines in normal block flow so each sentence stays on its own line instead of being laid out as author-grid columns.
2026-03-11 01:51:40 +00:00
cydia2001
dcb31df2ca fix: center homepage content container
Align the English and Chinese homepage frontpage wrapper with the main content container so homepage content is centered like normal body content.
2026-03-11 01:49:07 +00:00
cydia2001
4bcdd9f107 fix: restyle homepage language switch button
Move the homepage language switch below the GitHub star button and restyle it to match the same button family on both the English and Chinese homepages.
2026-03-11 01:45:39 +00:00
cydia2001
e4490939ea fix: restore dark mode body image backgrounds
Apply light gray backgrounds to body images in dark themes for both English and Chinese mdBook themes while explicitly excluding homepage frontpage images.
2026-03-11 01:44:59 +00:00
cydia2001
8d980295c6 fix: align english homepage author grid
Top-align the English homepage author cards, enlarge the row gap, and normalize avatar sizing so author portraits line up consistently.
2026-03-11 01:33:17 +00:00
cydia2001
8cb06c2a8b fix: correct english homepage frontpage
Add an English-specific frontpage template so the default homepage no longer falls back to the Chinese frontpage, and clear homepage image backgrounds in the frontpage wrapper CSS.
2026-03-11 01:26:39 +00:00
cydia2001
cb9573119a feat: add homepage language switch links
Inject a homepage-only language switch into the mdBook frontpage wrapper so the English homepage links to the Chinese homepage and the Chinese homepage links back to the English homepage.
2026-03-11 01:19:56 +00:00
cydia2001
b938d3824e ci: use official pages deployment workflow
Switch the docs deployment workflow to the official GitHub Pages actions flow and verify it uses Pages action outputs for the deployment URL.
2026-03-11 01:10:46 +00:00
cydia2001
9d75cdc6c3 build: migrate docs publishing to mdbook
Move the English root site to mdBook, keep the Chinese site as a sub-book, and update CI/deploy to publish .mdbook outputs to docs/ and docs/cn/. Also add regression coverage for placeholder skipping, publish-tree assembly, and shared resource setup.
2026-03-11 00:57:34 +00:00
cydia2001
3c6701656c fix: enable inline math rendering in mdbook 2026-03-10 23:46:06 +00:00