From 1d2412fccafd284e127ae72882f344ea5a11d21b Mon Sep 17 00:00:00 2001 From: Reuben Tier Date: Wed, 24 May 2023 09:59:11 +0100 Subject: Add required title to complete code snippets (#86) --- docs/src/content/docs/de/reference/configuration.md | 1 + docs/src/content/docs/es/reference/configuration.md | 1 + docs/src/content/docs/guides/i18n.md | 2 ++ docs/src/content/docs/reference/configuration.md | 1 + 4 files changed, 5 insertions(+) diff --git a/docs/src/content/docs/de/reference/configuration.md b/docs/src/content/docs/de/reference/configuration.md index 8c1f4d3e..eef5a857 100644 --- a/docs/src/content/docs/de/reference/configuration.md +++ b/docs/src/content/docs/de/reference/configuration.md @@ -138,6 +138,7 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ integrations: [ starlight({ + title: 'My Docs', // Englisch als Standardsprache festlegen. defaultLocale: 'en', locales: { diff --git a/docs/src/content/docs/es/reference/configuration.md b/docs/src/content/docs/es/reference/configuration.md index 40dcc48d..ea004e1e 100644 --- a/docs/src/content/docs/es/reference/configuration.md +++ b/docs/src/content/docs/es/reference/configuration.md @@ -138,6 +138,7 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ integrations: [ starlight({ + title: 'My Docs', // Establece el inglés como el idioma predeterminado para este sitio. defaultLocale: 'en', locales: { diff --git a/docs/src/content/docs/guides/i18n.md b/docs/src/content/docs/guides/i18n.md index eb2afc76..778bd6bc 100644 --- a/docs/src/content/docs/guides/i18n.md +++ b/docs/src/content/docs/guides/i18n.md @@ -17,6 +17,7 @@ Starlight provides built-in support for multilingual sites, including routing, f export default defineConfig({ integrations: [ starlight({ + title: 'My Docs', // Set English as the default language for this site. defaultLocale: 'en', locales: { @@ -68,6 +69,7 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ integrations: [ starlight({ + title: 'My Docs', locales: { root: { label: 'English', diff --git a/docs/src/content/docs/reference/configuration.md b/docs/src/content/docs/reference/configuration.md index 56bfa164..8a43abf9 100644 --- a/docs/src/content/docs/reference/configuration.md +++ b/docs/src/content/docs/reference/configuration.md @@ -138,6 +138,7 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ integrations: [ starlight({ + title: 'My Site', // Set English as the default language for this site. defaultLocale: 'en', locales: { -- cgit