Translate content: subpath proxy asset routing (#6687) - #6758
Merged
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mirror PR #6687 (Document
/mintlify-assetsand/_mintlifyrouting for subpath proxies) into es, fr, and zh translations.Changes
es|fr|zh/deploy/cloudflare.mdx: update both Worker script conditionals to also match/mintlify-assets/*and/_mintlify/*; add<Warning>explaining the required asset and API playground proxying.es|fr|zh/deploy/route53-cloudfront.mdx: add/_mintlify/*to CachingDisabled list, replace/mintlify-assets/_next/static/*with/mintlify-assets/*in the CachingEnabled list, and replace the old/mintlify-assets/_next/static/*behavior section with new/mintlify-assets/*and/_mintlify/*behavior sections.Note
Low Risk
Documentation-only translation parity; no application or infrastructure code changes.
Overview
Brings es, fr, and zh deploy guides in line with the English update for subpath proxies (PR #6687).
In
cloudflare.mdx(all three locales), both example Worker scripts now proxy/mintlify-assets/*and/_mintlify/*in addition to the docs subpath, and a<Warning>explains that those paths must be served from the domain root (including extra Cloudflare route patterns when not using a custom domain).In
route53-cloudfront.mdx, the overview lists/_mintlify/*under CachingDisabled and broadens cached assets from/mintlify-assets/_next/static/*to/mintlify-assets/*. Step-by-step behavior sections replace the old_next/staticsnippet with full/mintlify-assets/*and/_mintlify/*behavior instructions (cache policies and HTTP methods for the API playground path).Reviewed by Cursor Bugbot for commit 3139170. Bugbot is set up for automated code reviews on this repo. Configure here.