Skip to content

feat(theme/dynamic-toc): add .rspress-toc-exclude escape hatch#2136

Merged
SoonIter merged 1 commit intomainfrom
syt/feat-component-exclude-in-toc
May 8, 2025
Merged

feat(theme/dynamic-toc): add .rspress-toc-exclude escape hatch#2136
SoonIter merged 1 commit intomainfrom
syt/feat-component-exclude-in-toc

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented May 8, 2025

Summary

  1. remove .header-anchor

  2. skip ".rspress-toc-exclude" element

  3. skip <a/ > element, replace a elements with their children

Related Issue

Checklist

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

@netlify
Copy link
Copy Markdown

netlify bot commented May 8, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit ae6edd3
🔍 Latest deploy log https://app.netlify.com/sites/rspress-v2/deploys/681cb8fa2a2c8100088664da
😎 Deploy Preview https://deploy-preview-2136--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 site configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented May 8, 2025

Deploy Preview for rspress ready!

Name Link
🔨 Latest commit ae6edd3
🔍 Latest deploy log https://app.netlify.com/sites/rspress/deploys/681cb8fa5c03e60008b0c409
😎 Deploy Preview https://deploy-preview-2136--rspress.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 68 (🔴 down 23 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (🟢 up 9 from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@SoonIter SoonIter merged commit 7f8b100 into main May 8, 2025
12 checks passed
@SoonIter SoonIter deleted the syt/feat-component-exclude-in-toc branch May 8, 2025 14:58
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.

2 participants