docs: fix CI-breaking imports, missing code-fence languages, and typos#342
Open
claude[bot] wants to merge 1 commit into
Open
docs: fix CI-breaking imports, missing code-fence languages, and typos#342claude[bot] wants to merge 1 commit into
claude[bot] wants to merge 1 commit into
Conversation
Daily automated docs scan across docs/en-US, blog, devlog, and authors. - Remove bare `import Video from '@/components/Video'` statements that are CI hard-fails (Video is already used without import elsewhere, e.g. docs/en-US/locadex/mintlify.mdx) - Add missing language ids to fenced code blocks in blog/devlog posts - Fix grammar, broken links, mis-numbered/contradictory examples, and a missing author frontmatter field surfaced by the scan Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014teT6L6dTvbbYpuBABedrZ
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.
Requested by Archie McKenzie · Slack thread
Summary
Daily automated documentation scan across
docs/en-US/,blog/en-US/,devlog/en-US/, andauthors/. One subagent audited each subsection againstCONTRIBUTING.md; only high-confidence, mechanical fixes were applied.Before / After (by subsection)
core
index.mdx: had a bareimport Video from '@/components/Video'in the MDX body — a CI hard-fail. Removed the import;<Video>renders fine without it (same pattern already used indocs/en-US/locadex/mintlify.mdx).quickstart.mdx: fixed a missing "and" ("...clickCreate API Key" → "...and clickCreate API Key") and a duplicated phrase ("check the enqueue the file" → "enqueue the file").class/methods/locales/is-same-language.mdx: "Works with variable number of locale parameters" → "Works with a variable number of locale parameters".functions/locales/requires-translation.mdx: description was missing mention that it considers "the approved locale list" — restored the dropped clause.class/methods/formatting/format-date-time.mdx: removed a dangling, empty "## Next steps" heading with no content under it.next
api/config/with-gt-config.mdx: fixed a non-existent function name (withGTProps→withGTConfig), a missing subject ("If a non-supported request is received will reroute..." → "...is received, it will reroute..."), and a stray underscore in a prop name (_batchInterval→batchInterval).api/middleware/create-next-middleware.mdx: the example setprefixDefaultLocale: truedirectly under prose explaining how to set it tofalse— corrected the example tofalseto match the text.api/strings/get-gt.mdx: "Translations strings withgetGThappen..." → "Strings translated withgetGThappen...".index.mdx: "Both<T>,useGT(), andgetGT()" → "All of<T>,useGT(), andgetGT()" (both only applies to two items).guides/local-tx.mdx: removed a dangling, empty "API References:" bullet at the end of the "Next steps" list.tutorials/examples/next-speedrun.mdx: fixed a mismatched "either...and" construction, "Dev Api Keys" → "Dev API Keys", and "General translation" → "General Translation" (product name).tutorials/examples/currency-converter/setup.mdx: fixed faulty verb parallelism ("simulate...and displays" → "simulate...and display").node
guides/strings.mdx: frontmatter description said "Two approaches" but the page describes three — updated to match.api/get-translations.mdx: example CLI command used the wrong binary name (npx gtx translate→npx gt translate).api/strings/msg.mdx: "Translations strings withmsghappen..." → "Strings translated withmsghappen...".cli
formats/gt.mdx: page title "GT JSX" didn't match its content or how every other page links to it — retitled to "GT".locadex
mintlify.mdx: a "Next.js App router" link pointed at the general Locadex index instead of the dedicated Next.js guide — fixed the link target.auto-merge.mdx: image alt text had a misplaced closing quote ("Locadex Agent selected"→"Locadex Agent" selected).react / react-native
api/components/gtprovider.mdx(both packages): "Render settings controls..." → "Render settings control..." (subject-verb agreement).react-core-linter
index.mdx,guides/quickstart.mdx: removed the same CI-hard-failimport Videostatement described above.next-lint
index.mdx: "Subject to changes." → "Subject to change." (fixed idiom).blog
i18n-without-translation-files.mdx: removed a CI-hard-failimport Videostatement.multilingual-nextjs-seo.mdx,plurals.mdx: added missing language ids (txt) to 6 fenced code blocks that had none.devlog
gt-react_v10_15_0.mdx,gt-react_v10_19_0.mdx,react-core-linter_v0_1_0.mdx: removed CI-hard-failimport Videostatements.gt-next_v6_3_0.mdx,gt-react_v10_18_0.mdx: added missing language ids (text) to fenced code blocks.authors
jackie.mdx: frontmatter was missing the requiredoccupationfield — addedoccupation: Software Engineer(matches the bio text).How
32 files changed, all under
docs/en-US/,blog/en-US/,devlog/en-US/, andauthors/. No changes todocs-templates/. Every fix above was verified by reading the actual file content before editing; several lower-confidence findings from the scan (ambiguous wording, unverified SDK parameter names, factual contradictions needing a maintainer's judgment call) were deliberately left unfixed and are not included in this PR.