diff options
author | Reuben Tier | 2023-05-24 09:59:11 +0100 |
---|---|---|
committer | GitHub | 2023-05-24 10:59:11 +0200 |
commit | 1d2412fccafd284e127ae72882f344ea5a11d21b (patch) | |
tree | d3b558afea8d57433d995dce93211eb0e2b09d22 | |
parent | 29167a7b06877ac3313b422535c85d118722bcd2 (diff) | |
download | IT.starlight-1d2412fccafd284e127ae72882f344ea5a11d21b.tar.gz IT.starlight-1d2412fccafd284e127ae72882f344ea5a11d21b.tar.bz2 IT.starlight-1d2412fccafd284e127ae72882f344ea5a11d21b.zip |
Add required title to complete code snippets (#86)
-rw-r--r-- | docs/src/content/docs/de/reference/configuration.md | 1 | ||||
-rw-r--r-- | docs/src/content/docs/es/reference/configuration.md | 1 | ||||
-rw-r--r-- | docs/src/content/docs/guides/i18n.md | 2 | ||||
-rw-r--r-- | docs/src/content/docs/reference/configuration.md | 1 |
4 files changed, 5 insertions, 0 deletions
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: { |