Commit 0be2cf4
committed
refactor: migrate tutorial/ + codes_and_assets/ to documents/ + code/
- Move all tutorial content (135 md files) to documents/ with ASCII directory names
- Move all code examples to code/ with renamed subdirectories
- Update mkdocs.yml docs_dir, pre-commit patterns, CI workflow, and scripts
- Fix 138 snippet references and 80 internal chapter links
- Add CSS fix for top navigation tab wrapping1 parent 0fcc5d6 commit 0be2cf4
480 files changed
Lines changed: 302 additions & 288 deletions
File tree
- .github/workflows
- code
- examples
- chapter02
- 01_zero_overhead
- 02_inline_optimization
- 03_constexpr
- 04_crtp_polymorphism
- chapter03
- 01_init_list
- 02_move_semantics
- 03_rvo_nrvo
- 04_ebo
- 05_object_size
- chapter05
- 01_dynamic_memory_problems
- 02_static_vs_stack_allocation
- 03_object_pool_pattern
- 04_placement_new
- 05_fixed_pool_allocation
- 06_array_vs_stdarray
- chapter06
- 01_raii_peripheral_management
- 02_unique_ptr_zero_overhead
- 04_smart_ptr_tradeoffs
- 05_intrusive_smart_pointers
- 06_custom_deleters
- 07_reference_counting
- 08_scope_guard_patterns
- chapter07
- 01_array
- 02_span
- 03_circular_buffer
- 04_intrusive_container
- 05_etl
- 06_custom_allocator
- chapter08
- 01_enum_class
- 02_type_safe_register
- 03_variant
- 04_optional
- 05_expected
- 06_type_aliases
- 07_literal_operators
- chapter09
- 01_lambda_basics
- 02_lambda_capture_performance
- 03_std_function_vs_pointers
- 04_zero_overhead_callbacks
- 05_std_invoke
- 06_functional_error_handling
- 07_ranges_views_basics
- 08_ranges_pipes
- chapter10
- 05_interrupt_safe
- 06_critical_section
- chapter11
- 01_auto_decltype
- 02_structured_binding
- project-setup
- stm32f1-tutorials
- 0_start_our_tutorial
- .vscode
- led
- system
- 1_led_control
- .vscode
- base
- device
- gpio
- system
- 2_button_control
- .vscode
- base
- device
- gpio
- system
- templates
- documents
- compilation-deep-dive
- compilation-linking-2-reuse-concept
- core-embedded-cpp
- chapter-00-introduction
- chapter-01-design-constraints
- chapter-02-zero-overhead
- chapter-03-types-containers
- chapter-04-compile-time
- chapter-05-memory-management
- chapter-06-ownership-raii
- chapter-07-containers-spans
- chapter-08-type-safety
- chapter-09-lambdas-functional
- chapter-10-concurrency
- chapter-11-modern-features
- chapter-12-templates
- cpp-engineering
- file-io
- cpp-features
- coroutines
- cpp-templates
- vol1-basics-cpp11-14
- vol2-modern-cpp17
- vol3-metaprogramming-cpp20-23
- vol4-generics-patterns
- debugging
- environment-setup
- parallel-computing
- stm32f1-challenge
- 00-env-setup
- 01-led
- 02-button
- stylesheets
- scripts
- todo/architecture
- tutorial/核心:现代嵌入式C++教程
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 | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
0 commit comments