Skip to content

Comments

Add docs.md rewrite to Vercel config generator#3675

Closed
mintlify[bot] wants to merge 1 commit intomainfrom
add-docs-md-rewrite-1771895317
Closed

Add docs.md rewrite to Vercel config generator#3675
mintlify[bot] wants to merge 1 commit intomainfrom
add-docs-md-rewrite-1771895317

Conversation

@mintlify
Copy link
Contributor

@mintlify mintlify bot commented Feb 24, 2026

Summary

  • Added /docs.md rewrite rule to the Vercel JSON generator component
  • Updated all language variants (en, zh, fr, es)
  • Enables accessing the markdown export endpoint when using custom subpaths

The rewrite maps /{subpath}/docs.md to https://{subdomain}.mintlify.app/docs.md.


Note

Low Risk
Adds a single rewrite rule in documentation snippets; low blast radius and no security- or data-sensitive logic changes.

Overview
Updates the VercelJsonGenerator snippet (and es/fr/zh variants) to include a new Vercel rewrite mapping /{subpath}/docs.md to https://{subdomain}.mintlify.app/docs.md.

This enables the docs.md markdown export endpoint to work when docs are hosted under a custom subpath, without impacting existing rewrite behavior.

Written by Cursor Bugbot for commit 65b5da9. This will update automatically on new commits. Configure here.

@ethanpalm ethanpalm closed this Feb 24, 2026
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