Commit 51ea44a
authored
Update/content with code editing (#62)
* feat(online-compiler): 源码默认可见 + 左右分栏布局
- 桌面左右分栏(源码 | 操作+结果),<912px 自动上下
- 源码进入视口懒加载(IntersectionObserver),减少并发请求
- 编辑源码改为 toggle:再点保存编辑内容并切回只读预览
- 有 ARM 源码时加「源码/ARM 精简源码」tab,看 ARM 汇编自动对照
- 本期纯文本等宽,shiki 语法高亮留作后续
* feat: vol3 writes, refactorizing and todo sync
* feat(online-compiler): 源码区 C++ 语法高亮(shiki)
- 只读源码用 shiki/bundle/web runtime 高亮,复用 github-light/dark 双主题
- 动态 import + 单例懒加载,不污染首屏 bundle(shiki 已随 vitepress 安装,无需加依赖)
- 双主题经 html.dark + --shiki-light/dark 变量自动切换,无需刷新
- 高亮异步:未就绪先纯文本 fallback,就绪后替换为着色 HTML
- 编辑态 textarea 保持纯文本(编辑场景不高亮)
* feat: refactor the old passages
* feat: c++26 formater support and new passages
* feat(vol3): 重构example vol3~7目录和在线源码接入
- 14 篇 OnlineCompilerDemo 配齐(补 map、重写 initializer、新建 8 个)
- vol34567 拆成 vol3/vol4/vol5/vol6/vol7,vol3 重新连续编号 01-14
- 同步更新所有 sourcePath(含 EN)
* feat(i18n): 同步英文翻译:vol3 在线源码接入+目录拆分
- 25 个文件重译(glm-4.6),vol3 14 篇 EN 齐全含 OnlineCompilerDemo
- EN source-path 同步到 code/examples/vol3-7 新结构
- EN vol3 index 升级到 14 篇逻辑顺序
* chore: 全仓 reading_time 补全 + frontmatter 规范化
- check_quality --fix 补全 reading_time_minutes + frontmatter 字母序规范化
- 修 vol3 deque/map 的 internal_link 缺 .md(4 处 CN+EN)
- EN 翻译同步 25 文件# Please enter the commit message for your changes. Lines starting1 parent 84e12e5 commit 51ea44a
726 files changed
Lines changed: 13961 additions & 11568 deletions
File tree
- code/examples
- vol34567
- vol3
- vol4
- vol5
- vol6
- vol7
- documents
- appendix
- community/dev
- compilation
- cpp-reference
- concurrency
- containers
- core-language
- memory
- templates
- en
- appendix
- community/dev
- compilation
- cpp-reference
- concurrency
- containers
- core-language
- memory
- templates
- vol1-fundamentals
- c_tutorials
- advanced_feature
- ch00
- ch01
- ch02
- ch03
- ch04
- ch05
- ch06
- ch07
- ch08
- ch09
- ch10
- ch11
- ch12
- vol10-open-lecture-notes/cppcon/2025
- 01-concept-based-generic-programming
- 02-some-assembly-required
- 03-back-to-basics-ranges
- 04-back-to-basics-move-semantics
- vol2-modern-features
- ch00-move-semantics
- ch01-smart-pointers
- ch02-constexpr
- ch03-lambda
- ch04-type-safety
- ch05-structured-bindings
- ch06-auto-decltype
- ch07-attributes
- ch08-string-view
- ch09-filesystem
- ch10-error-handling
- ch11-user-defined-literals
- vol3-standard-library
- vol4-advanced
- vol2-modern-cpp17
- vol5-concurrency
- ch00-concurrency-fundamentals
- ch01-thread-lifecycle-raii
- ch02-mutex-condition-sync
- ch03-atomic-memory-model
- ch04-concurrent-data-structures
- ch05-future-task-threadpool
- ch06-async-io-coroutine
- ch07-actor-channel
- ch08-debug-testing-perf
- ch09-distributed-bridge
- exercises
- vol6-performance
- vol7-engineering
- vol8-domains
- cpp-deep-dives/pointer-semantics
- embedded
- 00-env-setup
- 01-led
- 02-button
- 03-uart
- vol9-open-source-project-learn/chrome/01_once_callback
- full
- hands_on
- vol1-fundamentals
- c_tutorials
- advanced_feature
- ch00
- ch01
- ch02
- ch03
- ch04
- ch05
- ch06
- ch07
- ch08
- ch09
- ch10
- ch11
- ch12
- vol10-open-lecture-notes/cppcon/2025
- 01-concept-based-generic-programming
- 02-some-assembly-required
- 03-back-to-basics-ranges
- 04-back-to-basics-move-semantics
- vol2-modern-features
- ch00-move-semantics
- ch01-smart-pointers
- ch02-constexpr
- ch03-lambda
- ch04-type-safety
- ch05-structured-bindings
- ch06-auto-decltype
- ch07-attributes
- ch08-string-view
- ch09-filesystem
- ch10-error-handling
- ch11-user-defined-literals
- vol3-standard-library
- vol4-advanced
- vol2-modern-cpp17
- vol5-concurrency
- ch00-concurrency-fundamentals
- ch01-thread-lifecycle-raii
- ch02-mutex-condition-sync
- ch03-atomic-memory-model
- ch04-concurrent-data-structures
- ch05-future-task-threadpool
- ch06-async-io-coroutine
- ch07-actor-channel
- ch08-debug-testing-perf
- ch09-distributed-bridge
- exercises
- vol6-performance
- vol7-engineering
- vol8-domains
- cpp-deep-dives/pointer-semantics
- embedded
- 00-env-setup
- 01-led
- 02-button
- 03-uart
- vol9-open-source-project-learn/chrome/01_once_callback
- full
- hands_on
- scripts
- site/.vitepress/theme
- components
- todo
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments