From 9f57ca568fac965e08acef7a493c8a01a958a3cc Mon Sep 17 00:00:00 2001 From: moss-bryophyta <261561981+moss-bryophyta@users.noreply.github.com> Date: Fri, 17 Jul 2026 08:05:57 -0700 Subject: [PATCH] fix(docs): remove duplicate body H1 from refactored pages The docs renderer emits the frontmatter title as the page H1 via . Thirteen pages from the #354 refactor also kept a body '# Title' heading, so the title rendered twice. Remove the redundant body H1 to match the rest of the docs (which correctly omit it). --- .../en-US/integrations/mintlify/guides/configuring-mintlify.mdx | 2 -- .../integrations/mintlify/guides/managing-translations.mdx | 2 -- docs/en-US/integrations/mintlify/guides/translating-content.mdx | 2 -- .../integrations/mintlify/guides/using-translated-content.mdx | 2 -- docs/en-US/integrations/mintlify/quickstart.mdx | 2 -- docs/en-US/integrations/mintlify/reference/config.mdx | 2 -- docs/en-US/integrations/mintlify/reference/locales.mdx | 2 -- .../en-US/integrations/mintlify/reference/supported-content.mdx | 2 -- docs/en-US/react/guides/developing-spa-translations.mdx | 2 -- docs/en-US/react/nextjs-pages-router-quickstart.mdx | 2 -- docs/en-US/react/nextjs-quickstart.mdx | 2 -- docs/en-US/react/react-quickstart.mdx | 2 -- docs/en-US/react/react-spa-quickstart.mdx | 2 -- 13 files changed, 26 deletions(-) diff --git a/docs/en-US/integrations/mintlify/guides/configuring-mintlify.mdx b/docs/en-US/integrations/mintlify/guides/configuring-mintlify.mdx index 89a623da..198e4f87 100644 --- a/docs/en-US/integrations/mintlify/guides/configuring-mintlify.mdx +++ b/docs/en-US/integrations/mintlify/guides/configuring-mintlify.mdx @@ -10,8 +10,6 @@ related: --- -# Configuring Mintlify - Connect the GitHub repository that holds your Mintlify docs to General Translation, then choose your languages and how translations run. The [Quickstart](/docs/integrations/mintlify/quickstart) covers the fastest path; this guide covers the configuration options in more detail. The integration runs on [Locadex](/docs/platform/locadex/quickstart), so it is configured from **Locadex > Agent** in the Dashboard, not from a package or a config file you edit by hand. diff --git a/docs/en-US/integrations/mintlify/guides/managing-translations.mdx b/docs/en-US/integrations/mintlify/guides/managing-translations.mdx index a6192a22..ebba5d10 100644 --- a/docs/en-US/integrations/mintlify/guides/managing-translations.mdx +++ b/docs/en-US/integrations/mintlify/guides/managing-translations.mdx @@ -10,8 +10,6 @@ related: --- -# Managing translations - After your Mintlify docs are set up, use this guide to add or remove languages, keep translations current as your content changes, and edit generated translations. ## Keep translations up to date [#continuous] diff --git a/docs/en-US/integrations/mintlify/guides/translating-content.mdx b/docs/en-US/integrations/mintlify/guides/translating-content.mdx index 360c9e04..3aef5fc5 100644 --- a/docs/en-US/integrations/mintlify/guides/translating-content.mdx +++ b/docs/en-US/integrations/mintlify/guides/translating-content.mdx @@ -10,8 +10,6 @@ related: --- -# Translating content - Once your repository is connected, Locadex translates your Mintlify docs and opens a pull request with the results. This guide explains how a translation run works and what it does and does not change. ## Run the first translation [#first-run] diff --git a/docs/en-US/integrations/mintlify/guides/using-translated-content.mdx b/docs/en-US/integrations/mintlify/guides/using-translated-content.mdx index 769221b9..795079f7 100644 --- a/docs/en-US/integrations/mintlify/guides/using-translated-content.mdx +++ b/docs/en-US/integrations/mintlify/guides/using-translated-content.mdx @@ -10,8 +10,6 @@ related: --- -# Using translated content - Once the setup pull request is merged, your Mintlify site serves every language you selected. This guide explains what the integration changes in your project so readers land on the right language. ## Multi-language navigation [#navigation] diff --git a/docs/en-US/integrations/mintlify/quickstart.mdx b/docs/en-US/integrations/mintlify/quickstart.mdx index 31ae15f6..1bcf61ba 100644 --- a/docs/en-US/integrations/mintlify/quickstart.mdx +++ b/docs/en-US/integrations/mintlify/quickstart.mdx @@ -11,8 +11,6 @@ related: --- -# Quickstart - Use the Mintlify integration to translate your Mintlify documentation into every language you need, automatically. The integration is powered by [Locadex](/docs/platform/locadex/quickstart), the General Translation AI agent. You connect the GitHub repository that holds your Mintlify docs, choose your languages, and Locadex opens a pull request that adds internationalization (i18n) routing and translated content. There is no package to install and no config file to write by hand. diff --git a/docs/en-US/integrations/mintlify/reference/config.mdx b/docs/en-US/integrations/mintlify/reference/config.mdx index 113368f1..cd1da1dc 100644 --- a/docs/en-US/integrations/mintlify/reference/config.mdx +++ b/docs/en-US/integrations/mintlify/reference/config.mdx @@ -5,8 +5,6 @@ description: Reference for the gt.config.json General Translation generates for --- -# Configuration - General Translation generates a `gt.config.json` for your Mintlify project during setup — you do not write it by hand. This page documents what that file contains so you can review or fine-tune it after the setup pull request lands. The configuration is a standard General Translation CLI config. Each shared key is documented once in the [CLI configuration reference](/docs/cli/reference/config); this page covers only the Mintlify-specific choices and the two modes the integration generates. diff --git a/docs/en-US/integrations/mintlify/reference/locales.mdx b/docs/en-US/integrations/mintlify/reference/locales.mdx index 7be5fd89..5c6d8e92 100644 --- a/docs/en-US/integrations/mintlify/reference/locales.mdx +++ b/docs/en-US/integrations/mintlify/reference/locales.mdx @@ -5,8 +5,6 @@ description: Reference for the language codes Mintlify supports and how General --- -# Locales - Mintlify accepts a fixed set of language codes in its navigation. General Translation maps the locales you choose in the Dashboard onto those codes, and only locales that map to a supported Mintlify language can be used. ## Source and target locales [#source-target] diff --git a/docs/en-US/integrations/mintlify/reference/supported-content.mdx b/docs/en-US/integrations/mintlify/reference/supported-content.mdx index 28f04766..6c194b63 100644 --- a/docs/en-US/integrations/mintlify/reference/supported-content.mdx +++ b/docs/en-US/integrations/mintlify/reference/supported-content.mdx @@ -5,8 +5,6 @@ description: Reference for the files and content General Translation translates --- -# Supported content - This page lists exactly what General Translation translates in a Mintlify project, what it leaves untouched, and which files are always excluded. ## Overview [#overview] diff --git a/docs/en-US/react/guides/developing-spa-translations.mdx b/docs/en-US/react/guides/developing-spa-translations.mdx index 698e3c74..ef8c498a 100644 --- a/docs/en-US/react/guides/developing-spa-translations.mdx +++ b/docs/en-US/react/guides/developing-spa-translations.mdx @@ -11,8 +11,6 @@ related: --- -# Developing with SPA translations - Development translations let you preview translated content as you edit your SPA. They require the GT compiler and a development API key. **Prerequisites:** diff --git a/docs/en-US/react/nextjs-pages-router-quickstart.mdx b/docs/en-US/react/nextjs-pages-router-quickstart.mdx index 12de0de4..b8881c9b 100644 --- a/docs/en-US/react/nextjs-pages-router-quickstart.mdx +++ b/docs/en-US/react/nextjs-pages-router-quickstart.mdx @@ -11,8 +11,6 @@ related: --- -# Next.js Pages Router Quickstart - By the end of this guide, your Next.js Pages Router app will display content in multiple languages, with a language switcher your users can interact with. In the Pages Router, `gt-next` works through `getServerSideProps`: on each request, the server resolves the user's locale, loads a translations snapshot, and passes both to a `` in `_app.tsx` so the first render is already translated. diff --git a/docs/en-US/react/nextjs-quickstart.mdx b/docs/en-US/react/nextjs-quickstart.mdx index 54bf757d..62353065 100644 --- a/docs/en-US/react/nextjs-quickstart.mdx +++ b/docs/en-US/react/nextjs-quickstart.mdx @@ -11,8 +11,6 @@ related: --- -# Next.js App Router Quickstart - By the end of this guide, your Next.js app will display content in multiple languages, with a language switcher your users can interact with. **Prerequisites:** diff --git a/docs/en-US/react/react-quickstart.mdx b/docs/en-US/react/react-quickstart.mdx index ab33324c..6c2b1ee7 100644 --- a/docs/en-US/react/react-quickstart.mdx +++ b/docs/en-US/react/react-quickstart.mdx @@ -11,8 +11,6 @@ related: --- -# React Quickstart - By the end of this guide, your server-rendered React app will display content in multiple languages, with a language switcher your users can interact with. **Prerequisites:** diff --git a/docs/en-US/react/react-spa-quickstart.mdx b/docs/en-US/react/react-spa-quickstart.mdx index 32772226..766c639c 100644 --- a/docs/en-US/react/react-spa-quickstart.mdx +++ b/docs/en-US/react/react-spa-quickstart.mdx @@ -11,8 +11,6 @@ related: --- -# React SPA Quickstart - By the end of this guide, your single-page React app will display content in multiple languages, with a language switcher your users can interact with. In a single-page app, `gt-react` runs entirely in the browser — you initialize it once at startup with `initializeGTSPA()`, and you don't need a provider component.