Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Minimal MDXE Implementation

This PR implements a minimal version of MDXE that loads MD/MDX files from the consuming app's current folder using Next.js App Router with a dynamic catch-all route.

Features

  • Dynamic route handler (src/app/[[...path]]/page.tsx) for rendering MD/MDX files
  • File resolution utilities (src/utils/file-utils.ts) for finding and loading markdown files
  • CLI implementation (bin/mdx-cli.js) for serving, building, and starting the application
  • Main package exports (src/index.ts)

Implementation Details

  • Uses Next.js App Router with a dynamic catch-all route
  • Loads MD/MDX files directly from the consuming app's current directory
  • Provides a simple CLI for serving, building, and starting the application
  • Minimal dependencies and simplified architecture

Testing

The implementation can be tested by:

  1. Running node bin/mdx-cli.js dev to start the development server
  2. Creating some MD/MDX files in the current directory
  3. Accessing them through the browser at the corresponding routes

Link to Devin run

https://app.devin.ai/sessions/e4080cda8f2f4547b5e25ecd3e16c3b9

Requested by: Nathan Clevenger ([email protected])

@vercel
Copy link

vercel bot commented May 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mdx.org.ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2025 1:00am
minimal ❌ Failed (Inspect) May 20, 2025 1:00am

@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant