Skip to content

Comments

feat(core): Add i18n.localeConfigs[locale].{url,baseUrl} config options, fix multi-domain deployments#11316

Merged
slorber merged 31 commits intomainfrom
slorber/i18n-localeConfigs-baseUrl
Jul 28, 2025
Merged

feat(core): Add i18n.localeConfigs[locale].{url,baseUrl} config options, fix multi-domain deployments#11316
slorber merged 31 commits intomainfrom
slorber/i18n-localeConfigs-baseUrl

Conversation

@slorber
Copy link
Collaborator

@slorber slorber commented Jul 10, 2025

Motivation

Fix #4723

Fix #6462

Fix #6075 (comment)

Supersede #6731

This PR permits improving the i18n support for deploying an i18n site, in particular in more complex and multi-domain deployments.

We already had these:

  • url: The url/domain of your site
  • baseUrl: The baseUrl of your site's main locale, also used as a base for localized sites hosted under subpaths like /<baseUrl>/<locale>/

This introduces:

  • i18n.localeConfigs[locale].url: The url/domain of your site for a given locale
  • i18n.localeConfigs[locale].baseUrl: The baseUrl of your site for a given locale

Problems

Until now, Docusaurus had heuristics to automatically infer the "final baseUrl" of a localized site, based on the global siteConfig.baseUrl attribute:

  • /<baseUrl>/ for the default locale
  • /<baseUrl>/<locale>/ for other locales, hosted under subpaths
  • /<baseUrl>/ for all locales when building a single locale at a time (docusaurus build --locale fr), assuming a multi-domain deployment.

This works well for most sites, but does not really give enough flexibility.

For example, what if you don't want your default locale to be hosted at the site root, but want a consistent /<locale>/ prefix?

Also the previous implementation was buggy for multi-domain setups because there was no way to tell Docusaurus what the domains are for each locale. These features didn't work well:

  • The alternative URLs we navigate to when switching locale (in the navbar locale dropdown)
  • The hreflang meta used for crawlers like Google to detect localized variants of a given page.

With the new options, it's possible to give more flexibility and pass a custom url / baseUrl for each locale, giving you the ability to override the default values based on siteConfig.url and siteConfig.baseUrl.

The existing heuristics have been kept as-is for retrocompatibility, but can now be overridden.

Test Plan

Unit tests

Many local tests

Using our current website config:

  • yarn workspace website build: produces build and build/fr (+ other locales), can be served properly, has right canonical URL and hreflang meta
  • yarn workspace website build --locale en --locale fr: same result
  • yarn workspace website build --locale fr: builds/serve fine, outputs in build, has correct hreflang meta

Using a custom config on our website:

      localeConfigs: {
        en: {
          url: 'https://en.docusaurus.io',
          baseUrl: 'custom',
        },
        fr: {
          url: 'https://fr.docusaurus.io',
          baseUrl: 'whatever/else',
        },
      },
  • yarn workspace website build: works well
  • yarn workspace website build --locale en --locale fr: works well
  • yarn workspace website build --locale fr: works well

Test links

Preview: https://deploy-preview-11316--docusaurus-2.netlify.app/

Docs:

Related issues/PRs

Supersede #6731

@slorber slorber added the pr: new feature This PR adds a new API or behavior. label Jul 10, 2025
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jul 10, 2025
@netlify
Copy link

netlify bot commented Jul 10, 2025

[V2]

Name Link
🔨 Latest commit e53d900
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/68878ab7fc84990008bfb188
😎 Deploy Preview https://deploy-preview-11316--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

github-actions bot commented Jul 10, 2025

Size Change: +8.83 kB (+0.08%)

Total Size: 11.5 MB

Filename Size Change
website/.docusaurus/i18n.json 1.36 kB +300 B (+28.3%) 🚨
website/build/assets/js/main.********.js 817 kB +862 B (+0.11%)
website/build/blog.html 75.7 kB -36 B (-0.05%)
website/build/blog/2017/12/14/introducing-docusaurus.html 64.5 kB -36 B (-0.06%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 48.4 kB -36 B (-0.07%)
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 28.7 kB -36 B (-0.13%)
website/build/blog/2019/12/30/docusaurus-2019-recap.html 39.2 kB -37 B (-0.09%)
website/build/blog/2020/01/07/tribute-to-endi.html 32.2 kB -36 B (-0.11%)
website/build/blog/2021/01/19/docusaurus-2020-recap.html 50 kB -36 B (-0.07%)
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 46.4 kB -37 B (-0.08%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 47.2 kB -36 B (-0.08%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 42.4 kB -36 B (-0.08%)
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 130 kB -36 B (-0.03%)
website/build/blog/2022/09/01/docusaurus-2.1.html 49.5 kB -37 B (-0.07%)
website/build/blog/archive.html 23.1 kB -36 B (-0.16%)
website/build/blog/authors.html 49.7 kB -36 B (-0.07%)
website/build/blog/authors/j-marcey.html 69.3 kB -36 B (-0.05%)
website/build/blog/authors/josh-cena.html 46.1 kB -36 B (-0.08%)
website/build/blog/authors/lex-111.html 54.8 kB -36 B (-0.07%)
website/build/blog/authors/slorber.html 79 kB -36 B (-0.05%)
website/build/blog/authors/slorber/authors/2.html 81.4 kB -36 B (-0.04%)
website/build/blog/authors/slorber/authors/3.html 79.9 kB -36 B (-0.05%)
website/build/blog/authors/slorber/authors/4.html 96.5 kB -36 B (-0.04%)
website/build/blog/authors/yangshun.html 65.2 kB -36 B (-0.06%)
website/build/blog/authors/zpao.html 46.6 kB -36 B (-0.08%)
website/build/blog/page/2.html 78.4 kB -36 B (-0.05%)
website/build/blog/page/3.html 77 kB -36 B (-0.05%)
website/build/blog/page/4.html 87.8 kB -36 B (-0.04%)
website/build/blog/page/5.html 53.1 kB -36 B (-0.07%)
website/build/blog/page/6.html 34.1 kB -36 B (-0.11%)
website/build/blog/preparing-your-site-for-docusaurus-v3.html 124 kB -32 B (-0.03%)
website/build/blog/releases/2.2.html 49.4 kB -36 B (-0.07%)
website/build/blog/releases/2.3.html 59.8 kB -36 B (-0.06%)
website/build/blog/releases/2.4.html 63.3 kB -36 B (-0.06%)
website/build/blog/releases/3.0.html 103 kB -36 B (-0.03%)
website/build/blog/releases/3.1.html 52.5 kB -35 B (-0.07%)
website/build/blog/releases/3.2.html 48.1 kB -36 B (-0.07%)
website/build/blog/releases/3.3.html 55.2 kB -36 B (-0.07%)
website/build/blog/releases/3.5.html 56.8 kB -35 B (-0.06%)
website/build/blog/releases/3.6.html 74.7 kB -35 B (-0.05%)
website/build/blog/releases/3.7.html 49.9 kB -35 B (-0.07%)
website/build/blog/releases/3.8.html 83.9 kB -36 B (-0.04%)
website/build/blog/tags.html 26.8 kB -36 B (-0.13%)
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 122 kB -36 B (-0.03%)
website/build/docs.html 46.7 kB -36 B (-0.08%)
website/build/docs/advanced.html 28.9 kB -36 B (-0.12%)
website/build/docs/advanced/architecture.html 28.4 kB -32 B (-0.11%)
website/build/docs/advanced/client.html 67.4 kB -36 B (-0.05%)
website/build/docs/advanced/plugins.html 52.8 kB -36 B (-0.07%)
website/build/docs/advanced/ssg.html 71.9 kB -36 B (-0.05%)
website/build/docs/api/docusaurus-config.html 202 kB +4.74 kB (+2.41%)
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 42.8 kB -32 B (-0.07%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 34.4 kB -36 B (-0.1%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 33.4 kB -36 B (-0.11%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 34.7 kB -32 B (-0.09%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 38.2 kB -36 B (-0.09%)
website/build/docs/api/misc/@docusaurus/logger.html 36.9 kB -36 B (-0.1%)
website/build/docs/api/misc/create-docusaurus.html 32.1 kB -36 B (-0.11%)
website/build/docs/api/plugin-methods.html 63.1 kB -32 B (-0.05%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 57.1 kB -32 B (-0.06%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 55.5 kB -32 B (-0.06%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 156 kB -36 B (-0.02%)
website/build/docs/api/plugin-methods/static-methods.html 42.9 kB -32 B (-0.07%)
website/build/docs/api/plugins.html 30.5 kB -36 B (-0.12%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 180 kB -33 B (-0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 186 kB -35 B (-0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 71.5 kB -36 B (-0.05%)
website/build/docs/api/plugins/@docusaurus/plugin-css-cascade-layers.html 44.9 kB -36 B (-0.08%)
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 47.1 kB -33 B (-0.07%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 46.6 kB -40 B (-0.09%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 45.4 kB -36 B (-0.08%)
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 49.2 kB -36 B (-0.07%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 113 kB -32 B (-0.03%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 38.3 kB -36 B (-0.09%)
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 62.9 kB -30 B (-0.05%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 43.3 kB -36 B (-0.08%)
website/build/docs/api/themes.html 28.3 kB -36 B (-0.13%)
website/build/docs/api/themes/@docusaurus/theme-classic.html 41.5 kB -32 B (-0.08%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 34.8 kB -34 B (-0.1%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 33.6 kB -32 B (-0.1%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 31.5 kB -36 B (-0.11%)
website/build/docs/api/themes/configuration.html 244 kB -36 B (-0.01%)
website/build/docs/blog.html 195 kB -33 B (-0.02%)
website/build/docs/browser-support.html 45.2 kB -36 B (-0.08%)
website/build/docs/category/getting-started.html 26.2 kB -36 B (-0.14%)
website/build/docs/category/guides.html 34 kB -36 B (-0.11%)
website/build/docs/cli.html 57.7 kB -36 B (-0.06%)
website/build/docs/creating-pages.html 54.3 kB -35 B (-0.06%)
website/build/docs/deployment.html 207 kB -30 B (-0.01%)
website/build/docs/docs-introduction.html 47.7 kB -36 B (-0.08%)
website/build/docs/docs-multi-instance.html 69.9 kB -32 B (-0.05%)
website/build/docs/docusaurus-core.html 218 kB -36 B (-0.02%)
website/build/docs/guides/whats-next.html 30.4 kB -36 B (-0.12%)
website/build/docs/i18n/git.html 73.7 kB -32 B (-0.04%)
website/build/docs/i18n/introduction.html 46.1 kB -36 B (-0.08%)
website/build/docs/i18n/tutorial.html 159 kB +7.52 kB (+4.95%) 🔍
website/build/docs/installation.html 62 kB -31 B (-0.05%)
website/build/docs/markdown-features.html 76.1 kB -36 B (-0.05%)
website/build/docs/markdown-features/admonitions.html 106 kB -32 B (-0.03%)
website/build/docs/markdown-features/assets.html 82.6 kB -34 B (-0.04%)
website/build/docs/markdown-features/head-metadata.html 47.9 kB -36 B (-0.08%)
website/build/docs/markdown-features/links.html 38.6 kB -36 B (-0.09%)
website/build/docs/markdown-features/math-equations.html 85.8 kB -32 B (-0.04%)
website/build/docs/markdown-features/react.html 128 kB -36 B (-0.03%)
website/build/docs/markdown-features/tabs.html 134 kB -36 B (-0.03%)
website/build/docs/markdown-features/toc.html 78.9 kB -32 B (-0.04%)
website/build/docs/migration.html 37.2 kB -32 B (-0.09%)
website/build/docs/migration/v2.html 37.5 kB -36 B (-0.1%)
website/build/docs/migration/v2/automated.html 38 kB -36 B (-0.09%)
website/build/docs/migration/v2/manual.html 183 kB -36 B (-0.02%)
website/build/docs/migration/v2/translated-sites.html 48.6 kB -36 B (-0.07%)
website/build/docs/migration/v3.html 184 kB -34 B (-0.02%)
website/build/docs/playground.html 30.2 kB -36 B (-0.12%)
website/build/docs/search.html 109 kB -35 B (-0.03%)
website/build/docs/sidebar.html 131 kB -35 B (-0.03%)
website/build/docs/sidebar/items.html 168 kB -35 B (-0.02%)
website/build/docs/sidebar/multiple-sidebars.html 58.7 kB -32 B (-0.05%)
website/build/docs/static-assets.html 49.1 kB -32 B (-0.07%)
website/build/docs/styling-layout.html 131 kB -35 B (-0.03%)
website/build/docs/typescript-support.html 58.1 kB -32 B (-0.06%)
website/build/docs/using-plugins.html 102 kB -36 B (-0.04%)
website/build/docs/versioning.html 87.5 kB -38 B (-0.04%)
website/build/index.html 35.1 kB -36 B (-0.1%)
ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/docusaurus.config.mjs 28.6 kB 0 B
website/.docusaurus/globalData.json 34.8 kB 0 B
website/.docusaurus/registry.js 168 kB 0 B
website/.docusaurus/routes.js 82.3 kB 0 B
website/.docusaurus/routesChunkNames.json 88.1 kB 0 B
website/.docusaurus/site-metadata.json 2.54 kB 0 B
website/build/assets/css/styles.********.css 127 kB 0 B
website/build/assets/js/runtime~main.********.js 37.9 kB 0 B
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 44.1 kB -24 B (-0.05%)
website/build/blog/2021/11/21/algolia-docsearch-migration.html 53.4 kB -24 B (-0.04%)
website/build/blog/releases/3.4.html 54.4 kB -29 B (-0.05%)
website/build/docs/advanced/routing.html 67.6 kB -28 B (-0.04%)
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 57.1 kB -23 B (-0.04%)
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 45.6 kB -24 B (-0.05%)
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 38.6 kB -24 B (-0.06%)
website/build/docs/configuration.html 89.2 kB -29 B (-0.03%)
website/build/docs/create-doc.html 56.9 kB -24 B (-0.04%)
website/build/docs/i18n/crowdin.html 133 kB -24 B (-0.02%)
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features/code-blocks.html 213 kB -29 B (-0.01%)
website/build/docs/markdown-features/diagrams.html 48.9 kB -22 B (-0.04%)
website/build/docs/markdown-features/plugins.html 91.4 kB -28 B (-0.03%)
website/build/docs/migration/v2/versioned-sites.html 57.7 kB -28 B (-0.05%)
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/seo.html 84.4 kB -23 B (-0.03%)
website/build/docs/sidebar/autogenerated.html 140 kB -23 B (-0.02%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 107 kB -22 B (-0.02%)
website/build/docs/team/index.html 310 B 0 B

compressed-size-action::DOCUSAURUS_INFRA_FASTER

@github-actions
Copy link

github-actions bot commented Jul 10, 2025

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🔴 45 🟢 98 🟢 100 🟢 100 Report
/docs/installation 🟠 51 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 69 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 59 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 58 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 59 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 67 🟢 100 🟢 100 🟠 86 Report

@github-actions
Copy link

github-actions bot commented Jul 10, 2025

Size Change: +9.29 kB (+0.08%)

Total Size: 11.9 MB

Filename Size Change
website/.docusaurus/i18n.json 1.36 kB +300 B (+28.3%) 🚨
website/build/assets/js/main.********.js 819 kB +879 B (+0.11%)
website/build/blog.html 78.5 kB -36 B (-0.05%)
website/build/blog/2017/12/14/introducing-docusaurus.html 66.8 kB -36 B (-0.05%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 50.5 kB -36 B (-0.07%)
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 30.4 kB -36 B (-0.12%)
website/build/blog/2019/12/30/docusaurus-2019-recap.html 41.2 kB -37 B (-0.09%)
website/build/blog/2020/01/07/tribute-to-endi.html 33.9 kB -36 B (-0.11%)
website/build/blog/2021/01/19/docusaurus-2020-recap.html 52.2 kB -36 B (-0.07%)
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 48.5 kB -37 B (-0.08%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 49.3 kB -36 B (-0.07%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 44.5 kB -36 B (-0.08%)
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 135 kB -36 B (-0.03%)
website/build/blog/2022/09/01/docusaurus-2.1.html 51.9 kB -37 B (-0.07%)
website/build/blog/archive.html 24.6 kB -36 B (-0.15%)
website/build/blog/authors.html 52 kB -36 B (-0.07%)
website/build/blog/authors/j-marcey.html 72 kB -36 B (-0.05%)
website/build/blog/authors/josh-cena.html 48.3 kB -36 B (-0.07%)
website/build/blog/authors/lex-111.html 57.2 kB -36 B (-0.06%)
website/build/blog/authors/slorber.html 82.1 kB -36 B (-0.04%)
website/build/blog/authors/slorber/authors/2.html 84.4 kB -36 B (-0.04%)
website/build/blog/authors/slorber/authors/3.html 83 kB -36 B (-0.04%)
website/build/blog/authors/slorber/authors/4.html 99.9 kB -36 B (-0.04%)
website/build/blog/authors/yangshun.html 67.9 kB -36 B (-0.05%)
website/build/blog/authors/zpao.html 48.8 kB -36 B (-0.07%)
website/build/blog/page/2.html 81.2 kB -36 B (-0.04%)
website/build/blog/page/3.html 79.9 kB -36 B (-0.05%)
website/build/blog/page/4.html 90.9 kB -36 B (-0.04%)
website/build/blog/page/5.html 55.4 kB -36 B (-0.06%)
website/build/blog/page/6.html 35.9 kB -36 B (-0.1%)
website/build/blog/preparing-your-site-for-docusaurus-v3.html 129 kB -37 B (-0.03%)
website/build/blog/releases/2.2.html 51.8 kB -36 B (-0.07%)
website/build/blog/releases/2.3.html 62.4 kB -36 B (-0.06%)
website/build/blog/releases/2.4.html 66.1 kB -36 B (-0.05%)
website/build/blog/releases/3.0.html 108 kB -36 B (-0.03%)
website/build/blog/releases/3.1.html 54.8 kB -35 B (-0.06%)
website/build/blog/releases/3.2.html 50.4 kB -36 B (-0.07%)
website/build/blog/releases/3.3.html 57.7 kB -36 B (-0.06%)
website/build/blog/releases/3.5.html 59.3 kB -35 B (-0.06%)
website/build/blog/releases/3.6.html 77.8 kB -35 B (-0.04%)
website/build/blog/releases/3.7.html 52.3 kB -35 B (-0.07%)
website/build/blog/releases/3.8.html 87.2 kB -36 B (-0.04%)
website/build/blog/tags.html 28.6 kB -36 B (-0.13%)
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 126 kB -36 B (-0.03%)
website/build/docs.html 48.7 kB -36 B (-0.07%)
website/build/docs/advanced.html 30.5 kB -36 B (-0.12%)
website/build/docs/advanced/architecture.html 30 kB -32 B (-0.11%)
website/build/docs/advanced/client.html 70.2 kB -36 B (-0.05%)
website/build/docs/advanced/plugins.html 55.1 kB -36 B (-0.07%)
website/build/docs/advanced/ssg.html 75.1 kB -36 B (-0.05%)
website/build/docs/api/docusaurus-config.html 210 kB +4.95 kB (+2.41%)
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 45.1 kB -32 B (-0.07%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 36.3 kB -36 B (-0.1%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 35.2 kB -36 B (-0.1%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 36.5 kB -32 B (-0.09%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 40.2 kB -36 B (-0.09%)
website/build/docs/api/misc/@docusaurus/logger.html 38.7 kB -36 B (-0.09%)
website/build/docs/api/misc/create-docusaurus.html 33.7 kB -36 B (-0.11%)
website/build/docs/api/plugin-methods.html 65.7 kB -32 B (-0.05%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 59.6 kB -32 B (-0.05%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 57.8 kB -32 B (-0.06%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 162 kB -36 B (-0.02%)
website/build/docs/api/plugin-methods/static-methods.html 44.8 kB -32 B (-0.07%)
website/build/docs/api/plugins.html 32.1 kB -36 B (-0.11%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 188 kB -33 B (-0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 194 kB -35 B (-0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 75.3 kB -36 B (-0.05%)
website/build/docs/api/plugins/@docusaurus/plugin-css-cascade-layers.html 47.1 kB -36 B (-0.08%)
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 49.4 kB -33 B (-0.07%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 48.9 kB -40 B (-0.08%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 47.7 kB -36 B (-0.08%)
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 51.9 kB -36 B (-0.07%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 118 kB -32 B (-0.03%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 40.4 kB -36 B (-0.09%)
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 65.8 kB -30 B (-0.05%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 45.5 kB -36 B (-0.08%)
website/build/docs/api/themes.html 29.8 kB -36 B (-0.12%)
website/build/docs/api/themes/@docusaurus/theme-classic.html 43.6 kB -32 B (-0.07%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 36.6 kB -34 B (-0.09%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 35.4 kB -32 B (-0.09%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 33.2 kB -36 B (-0.11%)
website/build/docs/api/themes/configuration.html 257 kB -36 B (-0.01%)
website/build/docs/blog.html 202 kB -33 B (-0.02%)
website/build/docs/browser-support.html 47.5 kB -36 B (-0.08%)
website/build/docs/category/getting-started.html 27.7 kB -36 B (-0.13%)
website/build/docs/category/guides.html 35.8 kB -36 B (-0.1%)
website/build/docs/cli.html 61.3 kB -36 B (-0.06%)
website/build/docs/creating-pages.html 56.7 kB -35 B (-0.06%)
website/build/docs/deployment.html 214 kB -30 B (-0.01%)
website/build/docs/docs-introduction.html 50 kB -36 B (-0.07%)
website/build/docs/docs-multi-instance.html 73.2 kB -32 B (-0.04%)
website/build/docs/docusaurus-core.html 226 kB -36 B (-0.02%)
website/build/docs/guides/whats-next.html 32.2 kB -36 B (-0.11%)
website/build/docs/i18n/git.html 77 kB -32 B (-0.04%)
website/build/docs/i18n/introduction.html 48.3 kB -36 B (-0.07%)
website/build/docs/i18n/tutorial.html 166 kB +7.78 kB (+4.92%) 🔍
website/build/docs/installation.html 64.8 kB -31 B (-0.05%)
website/build/docs/markdown-features.html 79 kB -36 B (-0.05%)
website/build/docs/markdown-features/admonitions.html 111 kB -32 B (-0.03%)
website/build/docs/markdown-features/assets.html 86.6 kB -34 B (-0.04%)
website/build/docs/markdown-features/head-metadata.html 50.3 kB -36 B (-0.07%)
website/build/docs/markdown-features/links.html 40.6 kB -36 B (-0.09%)
website/build/docs/markdown-features/math-equations.html 89.7 kB -32 B (-0.04%)
website/build/docs/markdown-features/react.html 133 kB -36 B (-0.03%)
website/build/docs/markdown-features/tabs.html 141 kB -36 B (-0.03%)
website/build/docs/markdown-features/toc.html 82.3 kB -32 B (-0.04%)
website/build/docs/migration.html 39.2 kB -37 B (-0.09%)
website/build/docs/migration/v2.html 39.3 kB -36 B (-0.09%)
website/build/docs/migration/v2/automated.html 40 kB -36 B (-0.09%)
website/build/docs/migration/v2/manual.html 191 kB -36 B (-0.02%)
website/build/docs/migration/v2/translated-sites.html 50.9 kB -36 B (-0.07%)
website/build/docs/migration/v3.html 192 kB -34 B (-0.02%)
website/build/docs/playground.html 31.8 kB -36 B (-0.11%)
website/build/docs/search.html 113 kB -35 B (-0.03%)
website/build/docs/sidebar.html 137 kB -35 B (-0.03%)
website/build/docs/sidebar/items.html 175 kB -35 B (-0.02%)
website/build/docs/sidebar/multiple-sidebars.html 61.7 kB -32 B (-0.05%)
website/build/docs/static-assets.html 51.6 kB -32 B (-0.06%)
website/build/docs/styling-layout.html 136 kB -35 B (-0.03%)
website/build/docs/typescript-support.html 60.7 kB -32 B (-0.05%)
website/build/docs/using-plugins.html 106 kB -36 B (-0.03%)
website/build/docs/versioning.html 91.3 kB -38 B (-0.04%)
website/build/index.html 36.8 kB -36 B (-0.1%)
ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/docusaurus.config.mjs 28.6 kB 0 B
website/.docusaurus/globalData.json 34.8 kB 0 B
website/.docusaurus/registry.js 168 kB 0 B
website/.docusaurus/routes.js 82.3 kB 0 B
website/.docusaurus/routesChunkNames.json 88.1 kB 0 B
website/.docusaurus/site-metadata.json 2.38 kB 0 B
website/build/assets/css/styles.********.css 120 kB 0 B
website/build/assets/js/runtime~main.********.js 37.5 kB 0 B
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 46.2 kB -24 B (-0.05%)
website/build/blog/2021/11/21/algolia-docsearch-migration.html 55.8 kB -24 B (-0.04%)
website/build/blog/releases/3.4.html 56.9 kB -29 B (-0.05%)
website/build/docs/advanced/routing.html 70.4 kB -28 B (-0.04%)
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 59.9 kB -23 B (-0.04%)
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 47.8 kB -24 B (-0.05%)
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 40.7 kB -24 B (-0.06%)
website/build/docs/configuration.html 92.9 kB -29 B (-0.03%)
website/build/docs/create-doc.html 59.4 kB -24 B (-0.04%)
website/build/docs/i18n/crowdin.html 139 kB -24 B (-0.02%)
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features/code-blocks.html 221 kB -29 B (-0.01%)
website/build/docs/markdown-features/diagrams.html 51.4 kB -22 B (-0.04%)
website/build/docs/markdown-features/plugins.html 95.2 kB -28 B (-0.03%)
website/build/docs/migration/v2/versioned-sites.html 60.2 kB -28 B (-0.05%)
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/seo.html 88.3 kB -23 B (-0.03%)
website/build/docs/sidebar/autogenerated.html 145 kB -23 B (-0.02%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 111 kB -22 B (-0.02%)
website/build/docs/team/index.html 310 B 0 B

compressed-size-action::DOCUSAURUS_INFRA_SLOWER

@slorber slorber marked this pull request as ready for review July 25, 2025 16:08
@slorber slorber requested a review from Josh-Cena as a code owner July 25, 2025 16:08
@slorber slorber changed the title feat(core): Add i18n.localeConfigs[locale].baseUrl config option feat(core): Add i18n.localeConfigs[locale].{url,baseUrl} config options Jul 25, 2025
@slorber slorber added the Argos Add this label to run UI visual regression tests. See argos.yml GH action. label Jul 28, 2025
@argos-ci
Copy link

argos-ci bot commented Jul 28, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 2 changed Jul 28, 2025, 2:43 PM

@slorber slorber merged commit 2febb76 into main Jul 28, 2025
43 checks passed
@slorber slorber deleted the slorber/i18n-localeConfigs-baseUrl branch July 28, 2025 15:04
@slorber slorber changed the title feat(core): Add i18n.localeConfigs[locale].{url,baseUrl} config options feat(core): Add i18n.localeConfigs[locale].{url,baseUrl} config options, fix multi-domain deployments Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Argos Add this label to run UI visual regression tests. See argos.yml GH action. CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.

Projects

None yet

2 participants