Skip to content

docs: render diagram using mermaid#940

Merged
fengmk2 merged 1 commit intomainfrom
docs/add-mermaid-support
Mar 16, 2026
Merged

docs: render diagram using mermaid#940
fengmk2 merged 1 commit intomainfrom
docs/add-mermaid-support

Conversation

@branchseer
Copy link
Member

@branchseer branchseer commented Mar 16, 2026

image.png

@netlify
Copy link

netlify bot commented Mar 16, 2026

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit 938c34f
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69b794de565f32000820d1fb
😎 Deploy Preview https://deploy-preview-940--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member Author

branchseer commented Mar 16, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@branchseer branchseer marked this pull request as ready for review March 16, 2026 04:59
@branchseer branchseer marked this pull request as draft March 16, 2026 04:59
@branchseer branchseer force-pushed the docs/add-mermaid-support branch 4 times, most recently from 60e43c6 to 6a90f89 Compare March 16, 2026 05:22
Add vitepress-plugin-mermaid for rendering mermaid diagrams in docs.
Alias dayjs to its ESM build to fix CJS default export errors with
VitePress 2.0. Replace ASCII diagram in run.md with a mermaid graph.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@branchseer branchseer force-pushed the docs/add-mermaid-support branch from 6a90f89 to 938c34f Compare March 16, 2026 05:27
@branchseer branchseer marked this pull request as ready for review March 16, 2026 06:23
@branchseer branchseer changed the title docs: add mermaid diagram support docs: render diagram using mermaid Mar 16, 2026
@branchseer branchseer requested a review from cpojer March 16, 2026 06:24
Comment on lines +117 to +118
// dayjs ships CJS by default; redirect to its ESM build so
// mermaid (imported via vitepress-plugin-mermaid) works in dev
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🫠

@fengmk2 fengmk2 merged commit 06d2f5a into main Mar 16, 2026
41 of 46 checks passed
@fengmk2 fengmk2 deleted the docs/add-mermaid-support branch March 16, 2026 06:36
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.

3 participants