Skip to content

fix(docs): restore component page code highlighting#28

Merged
trsoliu merged 1 commit into
mainfrom
codex/fix-docs-ui-highlight
Jun 2, 2026
Merged

fix(docs): restore component page code highlighting#28
trsoliu merged 1 commit into
mainfrom
codex/fix-docs-ui-highlight

Conversation

@trsoliu

@trsoliu trsoliu commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • render component Usage snippets through the shared TSX syntax highlighter
  • make the components sidebar use one scroll container so the Components heading no longer masks nav items
  • add docs regression checks for Usage highlighting and sidebar masking rules

Test Plan

  • pnpm typecheck
  • pnpm test
  • pnpm check:ui
  • pnpm registry:build
  • pnpm build:miniprogram
  • pnpm build:docs
  • browser verification on /weapp/components/ for desktop and 390px mobile viewport

@trsoliu trsoliu merged commit df8a953 into main Jun 2, 2026
1 check passed
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