Conversation
✅ Deploy Preview for rspress-v2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR enhances component documentation by adding preview codeblocks that allow users to see live examples of the components directly in the documentation.
- Adds
previewattribute to existing and new codeblocks for live component rendering - Updates code language from
tsxtomdxfor consistency with the framework - Standardizes import paths to use
@themealias across all documentation
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| website/docs/zh/ui/components/source-code.mdx | Updated existing codeblock to use mdx language with preview attribute, standardized import path to @theme, and removed trailing semicolon |
| website/docs/en/ui/components/source-code.mdx | Updated existing codeblock to use mdx language with preview attribute, standardized import path from @rspress/core/theme to @theme, and removed trailing semicolon |
| website/docs/zh/ui/components/edit-link.mdx | Added new preview codeblock demonstrating EditLink component usage |
| website/docs/en/ui/components/edit-link.mdx | Added new preview codeblock demonstrating EditLink component usage |
| website/docs/zh/ui/components/doc-footer.mdx | Added new preview codeblock demonstrating DocFooter component usage |
| website/docs/en/ui/components/doc-footer.mdx | Added new preview codeblock demonstrating DocFooter component usage |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Rsdoctor Bundle Diff AnalysisFound 3 project(s) in monorepo. 📊 Quick Summary (Click to expand)
📋 Detailed Reports (Click to expand)📁 nodePath:
📦 Download Diff Report: node Bundle Diff 📁 webPath:
📦 Download Diff Report: web Bundle Diff 📁 node_mdPath:
📦 Download Diff Report: node_md Bundle Diff Generated by Rsdoctor GitHub Action |
Summary
docs: add preview codeblock
Related Issue
Checklist