* ci: add Zig CI workflow
Add GitHub Actions workflow for Zig (the only supported language
without CI). Runs zig build and zig build test on ubuntu, macOS,
and Windows. Targets Zig 0.14.1 per codes/zig/build.zig.
Co-Authored-By: claude-flow <[email protected]>
* ci: use a compatible macOS image for Zig 0.14.1
---------
Co-authored-by: Santosh Maturi <[email protected]>
Co-authored-by: claude-flow <[email protected]>
Co-authored-by: krahets <[email protected]>
Synchronize the fixes from #1936, #1824, and #1961 across translated editions and normalize C# and Dart formatting. Move Java CI to Ubuntu 24.04 so its Java 11/17 checks can run.
Use repository-relative image paths in the five language READMEs and add descriptive language badge alt text. Point the Russian README header to the existing shared image.
Replace the exercise pages' Python-only snippets with source-backed implementations for the 13 visible programming languages, and localize reader-facing comments by site language. Zig remains out of scope.
Approval bypass: repository protection requires one approval but does not enforce it for administrators. All 68 completed checks succeeded; four non-required Java jobs remained queued on the existing ubuntu-20.04 workflow, with no failed checks.
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.
* docs(ru): replace prose quotes with guillemets
* docs(ru): replace prose semicolons with periods
* docs(ru): align animation title forms
* docs(ru): align figure and table references
- `queSize` represents the queue's size, not the rear pointer position.
- In `pop`, `queSize--` decreases the size, not the rear pointer.
- The rear pointer is calculated using modulo (`%`) with the `front` and `queSize` to avoid confusion.
Co-authored-by: Chance Luo <[email protected]>
* fix: improve Dockerfile for international contributors
- Upgrade base image from python:3.10.0-alpine to python:3.12-alpine
for security patches
- Replace hardcoded Chinese PyPI mirror with configurable ARG defaulting
to official PyPI (Chinese users can override via --build-arg)
- Add missing Japanese docs build step
Co-Authored-By: claude-flow <[email protected]>
* Change Python base image and add Russian docs
Updated Python base image from 3.12 to 3.10 and added support for Russian documentation.
---------
Co-authored-by: Santosh Maturi <[email protected]>
Co-authored-by: claude-flow <[email protected]>
Co-authored-by: Yudong Jin <[email protected]>
* Update the contributors list.
* Update the version number.
* Sync zh and zh-hant versions.
* Move epub builder to the utils branch.
* Optimize all figure files using pngquant.
* Update copyright.
* Update Acknowledgements.
* Update buttons in README.
* Review the EN heading format.
* Fix pythontutor headings.
* Fix pythontutor headings.
* bug fixes
* Fix headings in **/summary.md
* Revisit the CN-to-EN translation for Python code using Claude-4.5
* Revisit the CN-to-EN translation for Java code using Claude-4.5
* Revisit the CN-to-EN translation for Cpp code using Claude-4.5.
* Fix the dictionary.
* Fix cpp code translation for the multipart strings.
* Translate Go code to English.
* Update workflows to test EN code.
* Add EN translation for C.
* Add EN translation for CSharp.
* Add EN translation for Swift.
* Trigger the CI check.
* Revert.
* Update en/hash_map.md
* Add the EN version of Dart code.
* Add the EN version of Kotlin code.
* Add missing code files.
* Add the EN version of JavaScript code.
* Add the EN version of TypeScript code.
* Fix the workflows.
* Add the EN version of Ruby code.
* Add the EN version of Rust code.
* Update the CI check for the English version code.
* Update Python CI check.
* Fix cmakelists for en/C code.
* Fix Ruby comments
* add epub generator
* improve parser, keep images
* check epub after generate
* fix render math content error in block
* render \dots as ...
* render \lfoor and \rfloor
* use monospaced font to render code block
* render code block with syntax highlight
* adjust title render
* fix render LaTeX
* fix '!!! abstract' render
* render code block in flow
* include whole class when not specifiy function
* command line to build other language
* update README
* fix process python code example
* support build en, ja and zh-hant
* add '--all' option to build all version
* use branch docs to build epub
* fix title and toc render
* build epub file with name like 'hello-algo_{zh}_{cpp}.epub
* fix render LaTeX
* optimize style
* use math font
* fix extract code block
* add border for code block
* fix python code style
* fix page break
* try git pull first when build epub
* ajust title level of chapter section
* Update epub styles
* Update epub styles
* Update convers and fonts.
* Convert code comments and README into English.
* Update the output dir.
* Add code reviewers on the cover.
* Support multi language for the reviewer names.
* Update .gitignore
---------
Co-authored-by: krahets <[email protected]>
* 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]>