Skip to content

docs: sync merged libxr dev APIs, add mechanism diagrams, and align Onboarding with XRobot Style - #36

Merged
Jiu-xiao merged 3 commits into
devfrom
docs/site-refresh-20261127
Nov 27, 2026
Merged

Jiu-xiao merged 3 commits into
devfrom
docs/site-refresh-20261127

Conversation

@Jiu-xiao

Copy link
Copy Markdown
Member

Summary

  • Syncs merged libxr/dev updates (ZH + EN):
    • libxr#361 SwdGpioTiming (docs/debug/swd/swd-gpio.md, docs/debug/swd/README.md, docs/perf/perf-dap.md)
    • libxr#364 libxr_fatal_error vs libxr_fatal_error_and_print (docs/basic_coding/core/core-assert.md)
    • libxr#365 STM32H7/H7R/S ECC & libxr_stm32_flash_ecc_nmi() (docs/basic_coding/driver/flash.md, docs/code_gen/stm32/flash.md)
    • libxr#353 CH32 auto HCLK/2 (docs/env_setup/ch32.md), LIBXR_ALWAYS_INLINE (docs/basic_coding/core/core-def.md), CH32Watchdog (docs/basic_coding/driver/watchdog.md), LinuxCANFD (docs/basic_coding/driver/can.md)
    • Migrates the legacy xr_* CLI mapping table and 5.2.4 notes from LibXR_CppCodeGenerator into docs/code_gen/stm32/README.md
  • Adds Mermaid mechanism diagrams (ZH + EN) to docs/basic_coding/core/core-op.md (with all 4 OperationType modes), docs/adv_coding/core/rw_semantics.md (ReadPort/WritePort stateDiagram-v2 + Stream::operator<<), docs/adv_coding/core/isr_thread_boundary.md, docs/adv_coding/middleware/topic_design.md, and docs/proj_man/README.md, plus XRobot Style v2 Mermaid CSS overrides in src/css/custom.css.
  • Aligns src/css/xrstyle-reading.css, src/theme/ColorModeToggle/index.module.css, and static/XRobot-Onboarding/index.html with XRobot Style v2 tokens (0px corners, no shadows/blur, <=160ms transitions), updates stale macros in static/XRobot-Onboarding/md/libxr_core/core_def.md, and cleans up emojis/promotional phrasing across non-PR pages.
  • Leaves docs/xrusb/**, docs/basic_coding/core/core-mem.md, and docs/basic_coding/cmake.md untouched pending libxr#370 and libxr#371.

Verification

  • npm run build passes for both zh and en locales (1125 docs each, onBrokenLinks: 'throw', 0 broken links).
  • git diff --check clean; local preview visually checked in light and dark modes.

@Jiu-xiao
Jiu-xiao merged commit 688df8e into dev Nov 27, 2026
2 checks passed
@Jiu-xiao
Jiu-xiao deleted the docs/site-refresh-20261127 branch November 27, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant