Commit Graph

15 Commits

Author SHA1 Message Date
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
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
7143925e01 Merge branch 'feat/dark-mode-image-bg' 2026-03-10 23:54:55 +00:00
cydia2001
2fff3c81bf fix: group mdbook toc by part titles 2026-03-10 23:45:56 +00:00
cydia2001
87705896fc style: set frontpage author grid to 6 columns and widen main content area
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 23:04:39 +00:00
cydia2001
da30b83b63 fix: strip LaTeX escapes outside math mode in mdbook preprocessor
Remove \_, \%, \#, \& escapes from text outside $...$ math spans
while preserving them inside math mode for MathJax compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 22:53:31 +00:00
cydia2001
ff236e6f3f refactor: switch citation display to footnote style
Use numbered superscript references [1] [2] inline with an ordered
list bibliography at page bottom. Each entry has a back-link (↩)
to the citation site.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 22:50:00 +00:00
cydia2001
037e278a61 feat: add BibTeX citation support with inline links and bibliography
Parse mlsys.bib to generate author-year inline citations linked to
per-page bibliography sections. Missing bib keys degrade gracefully
to plain text placeholders.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 22:43:51 +00:00
cydia2001
b64b394bb6 fix: add resource symlinks and repo root static fallback to mdbook build
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 22:31:16 +00:00
cydia2001
a699ae34c1 feat: add raw HTML inline and frontpage layout support for mdbook preprocessor
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 22:14:32 +00:00
cydia2001
c52a509882 build: add mdbook support for zh chapters
Add mdBook configuration rooted at zh_chapters, generate and commit SUMMARY.md, rewrite d2l-specific directives through a Python preprocessor, refresh chapter resource symlinks from the build scripts, and ignore local build-only links and helper directories.
2026-03-10 21:50:08 +00:00
Dalong
7b02e5f4ff add contribution analysis script (#302) 2022-04-25 10:06:05 +08:00
Cheng Lai
aefdd40ee6 fix ch10 (#124)
Co-authored-by: Dalong <39682259+eedalong@users.noreply.github.com>
2022-03-20 10:12:27 +08:00
Luo Mai
86661feadd clean commit messages. 2022-03-01 15:22:19 +00:00