[GT] Set up Locadex#162
Draft
fernando-aviles wants to merge 1 commit into
Draft
Conversation
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.
Note
Medium Risk
Large doc routing and i18n behavior change: locale home URLs and nav depend on the new GTX pipeline and
experimentalClearLocaleDirsuntil builds are verified.Overview
Adds
gt.config.jsonto wire the Mintlify docs into the GTX (Locadex) localization pipeline for Mintlify: seven locales (en,es,ja,ko,pt-BR,ru,zh), locale-prefixed MDX/JSON paths, OpenAPI presets, redirect generation fromdocs.json, and options such asexperimentalClearLocaleDirsand hiding the default locale in URLs.Removes hand-maintained per-locale home copies under
es/,ja/,ko/,pt-br/,ru/, andzh/(each locale’sindex.mdxandnavigation.json). Those duplicated the root English home hub; localized homes and nav are expected to be produced or managed via GTX rather than committed locale trees.Reviewed by Cursor Bugbot for commit bf20ac5. Bugbot is set up for automated code reviews on this repo. Configure here.