Repository navigation
Conversation
… a folder named like a Markdown file The docs, blog and pages plugins load every file of a `folder.md/` directory, like `folder.md/notes.txt`, as content. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
✅ [V2]
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Size Change: 0 B Total Size: 12.1 MB ℹ️ View Unchanged
|
|
Size Change: 0 B Total Size: 12.1 MB ℹ️ View Unchanged
|
⚡️ Lighthouse report for the deploy preview of this PR
|
Motivation
Reproduce a bug before fixing it in a stacked PR.
Since we switched to tinyglobby (#11042), the docs, blog and pages plugins load every file of a folder whose name matches their
includepatterns. Tinyglobby appends/**to every pattern by default (expandDirectories: true), unlike globby:**/*.{md,mdx}matchesfolder.md/notes.txt.The site build then fails, because the
.txtfile goes through the JS loader:This PR adds tests capturing the current behavior: a
folder.md/fixture folder containing a Markdown file and anotes.txtfile, for each of the 3 plugins.Test Plan
Unit tests. A dogfood repro would break the website build.
Test links
Deploy preview: https://deploy-preview-13037--docusaurus-2.netlify.app/
Related issues/PRs
🤖 Generated with Claude Code
Summary by CodeRabbit
.md, including when those folders contain non-Markdown files.