Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): route.extensions should work #1846

Merged
merged 3 commits into from
Feb 13, 2025
Merged

Conversation

SoonIter
Copy link
Member

@SoonIter SoonIter commented Feb 13, 2025

Summary

  1. fix: route.extensions should work

in @rspress/core RouteService, the default value is ['md','mdx', ...]

and in @rspress/plugin-auto-nav-sidebar, the default value is ['.md','.mdx', ...]

what a shameful disaster !!!

  1. test: add more unit test for route and sidebar core functions

Related Issue

Checklist

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

Copy link

netlify bot commented Feb 13, 2025

Deploy Preview for aquamarine-blini-95325f ready!

Name Link
🔨 Latest commit a92e8db
🔍 Latest deploy log https://app.netlify.com/sites/aquamarine-blini-95325f/deploys/67ad9bb89d943600089560c3
😎 Deploy Preview https://deploy-preview-1846--aquamarine-blini-95325f.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: 73 (🔴 down 12 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (no change 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 changed the title fix: route.extensions should work fix(core): route.extensions should work Feb 13, 2025
@SoonIter SoonIter force-pushed the fix/route/extensions/shouldwork branch from 494fd5d to 95a81ae Compare February 13, 2025 05:44
@SoonIter SoonIter force-pushed the fix/route/extensions/shouldwork branch from e7a9ec8 to 27b23fc Compare February 13, 2025 06:44
@SoonIter SoonIter force-pushed the fix/route/extensions/shouldwork branch from a534e9f to a92e8db Compare February 13, 2025 07:13
@SoonIter SoonIter merged commit fef62cb into main Feb 13, 2025
10 checks passed
@SoonIter SoonIter deleted the fix/route/extensions/shouldwork branch February 13, 2025 08:32
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