.mdx
Get raw page content by adding .mdx to any documentation URL
MDX Endpoint
Append .mdx
to any documentation page URL to get its raw content.
Usage
Response Format
How it works
- Uses dynamic route
llms.mdx/[[...slug]]/route.ts
- Matches the slug to find the corresponding page
- Processes content through
getLLMText
function - Returns formatted text response
- Returns 404 if page doesn't exist
All routes are statically generated at build time for performance.