Skip to content

docs: fix CI-breaking imports, missing code-fence languages, and typos#342

Open
claude[bot] wants to merge 1 commit into
mainfrom
docs/daily-scan-2026-07-04
Open

docs: fix CI-breaking imports, missing code-fence languages, and typos#342
claude[bot] wants to merge 1 commit into
mainfrom
docs/daily-scan-2026-07-04

Conversation

@claude

@claude claude Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Requested by Archie McKenzie · Slack thread

Summary

Daily automated documentation scan across docs/en-US/, blog/en-US/, devlog/en-US/, and authors/. One subagent audited each subsection against CONTRIBUTING.md; only high-confidence, mechanical fixes were applied.

Before / After (by subsection)

core

  • index.mdx: had a bare import Video from '@/components/Video' in the MDX body — a CI hard-fail. Removed the import; <Video> renders fine without it (same pattern already used in docs/en-US/locadex/mintlify.mdx).
  • quickstart.mdx: fixed a missing "and" ("...click Create API Key" → "...and click Create 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 (withGTPropswithGTConfig), 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 (_batchIntervalbatchInterval).
  • api/middleware/create-next-middleware.mdx: the example set prefixDefaultLocale: true directly under prose explaining how to set it to false — corrected the example to false to match the text.
  • api/strings/get-gt.mdx: "Translations strings with getGT happen..." → "Strings translated with getGT happen...".
  • index.mdx: "Both <T>, useGT(), and getGT()" → "All of <T>, useGT(), and getGT()" (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 translatenpx gt translate).
  • api/strings/msg.mdx: "Translations strings with msg happen..." → "Strings translated with msg happen...".

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-fail import Video statement described above.

next-lint

  • index.mdx: "Subject to changes." → "Subject to change." (fixed idiom).

blog

  • i18n-without-translation-files.mdx: removed a CI-hard-fail import Video statement.
  • 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-fail import Video statements.
  • 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 required occupation field — added occupation: Software Engineer (matches the bio text).

How

32 files changed, all under docs/en-US/, blog/en-US/, devlog/en-US/, and authors/. No changes to docs-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.

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
@claude claude Bot requested a review from a team as a code owner July 4, 2026 15:17
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