Commit Graph
51 Commits
Author SHA1 Message Date
Yudong JinandClaude Opus 5.5 82da772c48 Retire the Docker MkDocs preview and dead MkDocs-only config (#2027)
* Name the current generator in the hero paint-seam header

The workspace generator moved from utils.hero.fit_paint_seams to
utils.site.homepage.art.fit_paint_seams; the seam metadata is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Sync the homepages to the new installer version

The workspace homepage installer now imports its roots from
utils.core.paths; its own bytes feed the homepage version, so the six
homepages point at assets/home/bf55006c61fda74c. Content is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Retire the Docker MkDocs preview and dead MkDocs-only config

The site is built only with Zensical. The root Dockerfile and compose file built a
MkDocs Material + glightbox preview that nothing else used, so remove them and the
"Docker deployment" section of the contribution guide in all six languages.

In mkdocs.yml, drop the keys the Zensical build never reads: glightbox (filtered
out by the builder), theme.features, extra_css and extra_javascript (replaced by
overrides/zensical/zensical.toml), and docs_dir, site_dir and theme.custom_dir (set
by the builder). The effective Zensical config is byte-identical for every language.

codes/Dockerfile (the code runtime environment) is unrelated and kept.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Remove the unused KaTeX script and the shadowed extra.css

overrides/javascripts/katex.js is referenced by no page or config (MathJax renders
formulas) and was only published as a dead file. overrides/stylesheets/extra.css is
always replaced by overrides/zensical/stylesheets/extra.css during the build.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-10 14:41:25 +08:00
Yudong Jin bf86c39b6c Fix multilingual content typos (#1958) 2026-08-18 03:08:23 +08:00
Yudong Jin b01036b09e Revisit the English version (#1885)
* Update giscus scroller.

* Refine English docs and landing page

* Sync the headings.

* Update landing pages.

* Update the avatar

* Update Acknowledgements

* Update landing pages.

* Update contributors.

* Update

* Fix the formula formatting.

* Fix the glossary.

* Chapter 6. Hashing

* Remove Chinese chars.

* Fix headings.

* Update giscus themes.

* fallback to default giscus theme to solve 429 many requests error.

* Add borders for callouts.

* docs: sync character encoding translations

* Update landing page media layout and i18n
2026-04-10 23:03:03 +08:00
Yudong Jin cfc273783b feat: Add glossary and description for "哈希集合" (#1310) 2024-04-28 22:00:25 +08:00
Shyam ChenandYudong Jin a587b01c4d feat(appendix): TypeScript installation (#1279)
* feat(appendix): TypeScript installation

* Update installation.md

* Update installation.md

* Update installation.md

* Update installation.md

---------

Co-authored-by: Yudong Jin <[email protected]>
2024-04-18 01:22:30 +08:00
Yudong Jin 6e570e2863 Update README for zh-hant version (#1228)
* Bug fixes

* Fix the term in heap figures

* Unify the font of the chapter covers for the zh, en, and zh-Hant version

* Sync the zh-hant vertion with the main branch

* Update README for testing

* Update README for testing

* Update README for testing

* Update README for zh, en, zh-hant version

* Fix the issue links

* Update README

* Update README

* edition -> version
2024-04-06 03:57:46 +08:00
Yudong Jin b3f100aff1 Bug fixes and improvements (#1205)
* Add Ruby code blocks to documents

* Remove Ruby code from en/docs

* Remove "center-table" class in index.md

* Add "data-toc-label" to handle the latex heading during the build process

* Use normal JD link instead.

* Bug fixes
2024-04-01 19:37:00 +08:00
Yudong Jin 034ee65e9a Fix bugs and harmonize the code comments (#1199)
* Fix the comment in array_deque.go

* Fix the comment in bucket_sort.c

* Translate the Java code comments to Chinese

* Bug fixes

* 二分查找 -> 二分搜尋

* Harmonize comments in `utils` between multiple programming languages
2024-03-31 03:06:41 +08:00
Yudong Jin 43bb45bceb Several bug fixes and improvements (#1178)
* Update pythontutor block with the latest code

* Move docs-en to en/docs

* Move mkdocs.yml and README to en folder

* Fix en/mkdocs.yml

* Update the landing page

* Fix the glossary

* Reduce the font size of the code block tabs

* Add Kotlin blocks to en/docs

* Fix the code link in en/.../deque.md

* Fix the EN README link
2024-03-26 02:49:26 +08:00
Yudong Jin 3d3e16fcd7 Update terminology for traditional Chinese translation (#1165)
* Add the glossary in Traditional Chinese

* Update terminology.md

* Fix the term "演算法"

* Update the traditional Chinese terms

* Fix several terms.

* Add some terms for sc2tc

* Add 文件, 二叉搜索树
2024-03-23 02:19:47 +08:00
Loong LoongandYudong Jin d807077e54 Updated terminology.md (#1043)
* only with the update of terminology.md

* Reformat table

* 栈底

* Update terminology.md

---------

Co-authored-by: Yudong Jin <[email protected]>
2024-01-28 22:57:35 +08:00
Yudong Jin f6976978dd Prepare 1.0.0 release (#1044)
* Update the book with the thrid revised edition

* Fix a typo

* Update the contributors' information

* Update the mindmap

* Update the version number
2024-01-14 03:16:20 +08:00
Yudong Jin d85a3bb74d Figures revision and bug fixes (#1041)
* Revised the figures thoughout the book.

* Utilize roboto and roboto mono as the font faimly of the English edition

* Fix the naming style

* Update two figures.

* Fix margin of the hero image

* Fix margin of the hero image
2024-01-12 14:15:07 +08:00
Yudong Jin 406eed82a3 Several bug fixes and improvements (#991)
* Several bug fixes.

* Update index.md
2023-12-16 03:15:20 +08:00
Yudong Jin ed4de4644f Revised the book. (#987) 2023-12-14 02:42:53 +08:00
Yudong Jin b10091c5f9 Several enhancements and bug fixes (#981)
* Update the installation section.

* Fix storage_pyramid.png

* Update the landing page.

* Update index.md

* Add download buttons to the landing page.

* Update the button style.

* Update .gitignore
2023-12-06 23:26:53 +08:00
Yudong Jin e720aa2d24 feat: Revised the book (#978)
* Sync recent changes to the revised Word.

* Revised the preface chapter

* Revised the introduction chapter

* Revised the computation complexity chapter

* Revised the chapter data structure

* Revised the chapter array and linked list

* Revised the chapter stack and queue

* Revised the chapter hashing

* Revised the chapter tree

* Revised the chapter heap

* Revised the chapter graph

* Revised the chapter searching

* Reivised the sorting chapter

* Revised the divide and conquer chapter

* Revised the chapter backtacking

* Revised the DP chapter

* Revised the greedy chapter

* Revised the appendix chapter

* Revised the preface chapter doubly

* Revised the figures
2023-12-02 06:21:34 +08:00
hpstoryandYudong Jin 56b20eff36 feat(csharp) .NET 8.0 code migration (#966)
* .net 8.0 migration

* update docs

* revert change

* revert change and update appendix docs

* remove static

* Update binary_search_insertion.cs

* Update binary_search_insertion.cs

* Update binary_search_edge.cs

* Update binary_search_insertion.cs

* Update binary_search_edge.cs

---------

Co-authored-by: Yudong Jin <[email protected]>
2023-11-26 23:18:44 +08:00
Yudong Jin fcbaf101a4 Several bug fixes and improvements (#945)
* Update Dockerfile for code debugging.

* Format Python code using Black.

* Improve dark theme by defining html classes for the figures, animations and cover images.

* Fix several glossary translation.

* Update a code comment.

* Fix climbing_stairs_backtrack: the pruning should not require the sorted choices list.

* Update the code of array and list traversal.

* Fix a rendering issue of README.md

* Update code of list traversal.

* Fix array_definition.png

* Update README.md

* Fix max_capacity_moving_short_board.png

* Fix array.dart

* Fix array.dart

* Fix array.dart

* Fix array.dart
2023-11-14 21:27:35 +08:00
JackYang-helloboboandYudong Jin 6c16276494 Update terminology.md (#915)
* Update terminology.md

对应链表linked list 为 linked list node ,而不应该是对应下文的列表list node

* Update terminology.md

---------

Co-authored-by: Yudong Jin <[email protected]>
2023-11-03 17:51:51 +08:00
Yudong Jin 23cce00e09 Fix Python build check script. (#911)
* Fix Python build check script.

* Update python code check workflow

* Update python test script.

* Compatible with Python >=3.9

* Compatible with Python >=3.10

* Fix errors in Windows

* test

* Add Python version in installation.md

* Update test_all.py
2023-11-02 21:58:14 +08:00
Yuelin XinandYudong Jin f7dd05e7a4 Add missing terminologies (#905)
* Update terminology.md

* Update terminology.md

---------

Co-authored-by: Yudong Jin <[email protected]>
2023-10-30 14:16:10 +08:00
krahets 33acfc0af7 Fix a typo 2023-10-30 05:30:49 +08:00
Yudong Jin 6133aa63ba feat: Add the section of terminologies. (#902)
* Add the section of terminologies.

* fix format
2023-10-30 05:14:21 +08:00
Yudong Jin ba74d4bba7 Reduce the image files size for faster loading. (#897) 2023-10-27 20:13:08 +08:00
krahets b39c2a94d3 Move docs/zh back to docs.
Move docs/overrides to overrides/.
Other fine tunes.
2023-10-08 04:25:06 +08:00
krahets 6f7e768cb7 Move docs/* to docs/zh/* 2023-10-08 01:33:09 +08:00
krahets 400b3914f6 Move docs/zh back to docs. 2023-10-08 01:22:57 +08:00
krahets f1ef7e9d10 Move documents to a sub-directory
to support multi-language selector.
2023-10-06 00:57:28 +08:00
krahets 9f59c572b5 fine tune 2023-09-17 01:13:15 +08:00
krahets 3530f8c5ce prepare 1.0.0b5 release 2023-09-10 22:43:59 +08:00
krahets 63aef4ed08 Fix a figure and latex symbols. 2023-08-30 15:25:03 +08:00
krahets 88a746f493 finetune 2023-08-28 23:52:41 +08:00
krahets c5a7323817 Replace ":" with "。" 2023-08-27 22:49:47 +08:00
krahets 106f02809a Mention figures and tables in normal texts.
Fix some figures.
Finetune texts.
2023-08-21 19:33:45 +08:00
krahets 981144e42d 1. lower-case nouns
2. fix 2 figures
3. Replace some 「」 by “”
2023-08-20 23:28:30 +08:00
krahets 2626de8d0b Polish the chapter
introduction, computational complexity.
2023-08-20 14:51:39 +08:00
liuyuxinandYudong Jin 0858ab91c0 Add missing Dart codes and fix some errors (#689)
* Add missing Dart codes and fix some errors

* Update array_binary_tree.dart

---------

Co-authored-by: Yudong Jin <[email protected]>
2023-08-17 05:04:38 +08:00
hpstoryandYudong Jin c9006c3fe6 fix(docs): add official configuration tutorial for csharp (#687)
* fix(docs): add official configuration tutorial for csharp

* Update installation.md

---------

Co-authored-by: Yudong Jin <[email protected]>
2023-08-14 23:06:11 +08:00
krahets 3d81b2d954 Update the opening phrase 2023-08-04 05:13:20 +08:00
krahets 9e8aee04d5 Update number_encoding.md
Update the width of cover images.
2023-07-29 04:50:49 +08:00
krahets 85d12360ed Prepare 1.0.0b4 release. 2023-07-26 11:56:32 +08:00
krahets 63a0e73df0 Unify punctuation. 2023-07-26 08:59:36 +08:00
krahets abec926c24 Finetune the documents.
Update mindmap.
Add the cover image of chapter appendix.
2023-07-22 04:29:08 +08:00
krahets 06b309d021 1. Add section links to the chapter page.
2. Add chapter icons to navigation panel.
3. Replace recently added text with icon.
2023-07-17 17:54:48 +08:00
krahets ed8fa6aea3 Add the code formatters in installation.md 2023-04-17 22:45:11 +08:00
krahets 9a74d9a9d1 Polish the chapter of searching and sorting. 2023-04-10 03:11:49 +08:00
Yudong Jin 1c8b7ef559 refactor: Replace 结点 with 节点 (#452)
* Replace 结点 with 节点
Update the footnotes in the figures

* Update mindmap

* Reduce the size of the mindmap.png
2023-04-09 04:32:17 +08:00
krahets 3f4e32b2b0 Polish the chapter of graph, hashing, appendix 2023-04-09 03:09:06 +08:00
krahets 902be479b2 Update the contents 2023-03-02 02:58:34 +08:00