Skip to content

Conversation

@SoonIter
Copy link
Member

@SoonIter SoonIter commented Sep 17, 2025

Summary

image
image

Related Issue

introducd in (#2579) (#2600)

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings September 17, 2025 03:48
@netlify
Copy link

netlify bot commented Sep 17, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit 0041cbe
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/68ca2f78e5fb860008d75119
😎 Deploy Preview https://deploy-preview-2602--rspress-v2.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
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds the rp-not-doc CSS class to specific UI components to exclude them from documentation rendering or processing. The changes ensure that navigation elements, utility components, and interactive elements are properly marked as non-documentation content.

  • Adds rp-not-doc class to Table of Contents, Source Code, and Badge components
  • Updates PrevNextPage component to use inline markdown rendering for titles
  • Imports renderInlineMarkdown utility function in PrevNextPage component

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/theme-default/src/components/Toc/index.tsx Adds rp-not-doc class to TOC container
packages/theme-default/src/components/SourceCode/index.tsx Adds rp-not-doc class to source code link component
packages/theme-default/src/components/PrevNextPage/index.tsx Imports renderInlineMarkdown and applies it to page titles
packages/theme-default/src/components/Badge/index.tsx Adds rp-not-doc class to badge component

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@SoonIter SoonIter enabled auto-merge (squash) September 17, 2025 04:00
@SoonIter SoonIter merged commit 76c4f95 into main Sep 17, 2025
10 checks passed
@SoonIter SoonIter deleted the syt/fix-syle-issue branch September 17, 2025 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants