11 Commits
Author SHA1 Message Date
Yudong Jin 53611a0ae9 Add screen-reader figure descriptions for English, Japanese, Korean, and Russian (#2043)
* Translate screen-reader figure descriptions into four book languages

* Clarify the spoken exponent in the time-complexity table

* Polish translated figure explanations and spoken math after full-book review
2026-11-18 16:23:32 +08:00
Yudong JinandClaude Opus 5.5 3d53548b80 Move inline doc snippets and Tutor URLs into codes/snippets (#2032)
Book pages keep placeholders only; all code now lives under each edition's codes/.

- The 32 inline 13-language tab groups (17 pages) and the 18 PythonTutor URLs written
  directly in `??? pythontutor` blocks move, per edition, to
  `codes/snippets/<chapter>/<page>.md`. Pages refer to them with a `snippet` fence that
  holds the entry ID and with `@tutor <ID>`; the workspace build restores the exact
  previous Markdown, so the generated docs and site are unchanged.
- `codes/code_links.json`, the `src` mapping shared by every edition, moves here from
  the workspace repository unchanged, so a new `src` reference needs only a source PR.

Snippet code is kept byte for byte, including one Rust line with trailing spaces in
space_complexity. zh-hant is regenerated by OpenCC.

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-15 23:38:00 +08:00
Yudong Jin 24b3eed029 Use portable SVG illustrations in all six book editions (#2017)
* Use portable SVG algorithm illustrations in all six editions

* Optimize embedded PNGs in portable book SVGs
2026-11-04 05:25:27 +08:00
Yudong Jin 7257641e0e Retranslate the complete Japanese online edition from Chinese (#2008)
* Retranslate the complete Japanese online edition from Chinese

* Fit Japanese homepage labels and localize heading permalinks

* Point Japanese contribution instructions to the Japanese preview

* Replace locale conditionals with multilingual UI tables
2026-10-30 02:12:26 +08:00
Yudong Jin bf86c39b6c Fix multilingual content typos (#1958) 2026-08-18 03:08:23 +08:00
Yudong Jin a3166c2018 Simplify generated exercise page sources (#1943) 2026-07-19 07:19:42 +08:00
Yudong Jin 9135647d93 Add translated chapter exercise pages (#1941)
Add dedicated chapter exercise sections and generated exercise pages for the English, Japanese, and Russian editions.

Add navigation for all published languages while keeping Taiwan Traditional Chinese exercise pages generated at build time.
2026-07-19 04:25:58 +08:00
Yudong Jin 6e600f5ba7 Add animation player (#1877)
* Add auto slide controller.

* Fix the animation blocks.

* renamed as animation_player

* Bug fixes

* Refine animation player controls
2026-03-31 21:24:11 +08:00
Yudong Jin d7b2277d2b Re-translate the Japanese version (#1871)
* Retranslate Japanese docs with GPT-5.4

* Retranslate Japanese code with GPT-5.4
2026-03-30 07:30:15 +08:00
Yudong Jin 10f76bd59a Remove incomplete zig code from docs. (#1837) 2025-12-31 19:47:59 +08:00
Ikko Eltociear Ashimineandkrahets 954c45864b docs: add Japanese translate documents (#1812)
* docs: add Japanese documents (`ja/docs`)

* docs: add Japanese documents (`ja/codes`)

* docs: add Japanese documents

* Remove pythontutor blocks in ja/

* Add an empty at the end of each markdown file.

* Add the missing figures (use the English version temporarily).

* Add index.md for Japanese version.

* Add index.html for Japanese version.

* Add missing index.assets

* Fix backtracking_algorithm.md for Japanese version.

* Add avatar_eltociear.jpg. Fix image links on the Japanese landing page.

* Add the Japanese banner.

---------

Co-authored-by: krahets <[email protected]>
2025-10-17 05:04:43 +08:00