From 03727fb69ec96701372fe94af11b2bb185db57ba Mon Sep 17 00:00:00 2001 From: Elian ☕️ Date: Wed, 24 May 2023 10:48:59 +0200 Subject: refactor: reorder README filetree (#80) --- examples/basics/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/basics/README.md b/examples/basics/README.md index ae487769..fa229a17 100644 --- a/examples/basics/README.md +++ b/examples/basics/README.md @@ -15,15 +15,15 @@ Inside of your Astro + Starlight project, you'll see the following folders and f ``` . -├── astro.config.mjs -├── package.json ├── public/ ├── src/ │ ├── assets/ │ ├── content/ -│ │ ├── config.ts -│ │ └── docs/ +│ │ ├── docs/ +│ │ └── config.ts │ └── env.d.ts +├── astro.config.mjs +├── package.json └── tsconfig.json ``` -- cgit From 1ee6a2ae21c240cce64e65b4756a3669599fd353 Mon Sep 17 00:00:00 2001 From: Elian ☕️ Date: Wed, 24 May 2023 10:52:11 +0200 Subject: docs: fix Yarn tab displaying PNPM (#81) --- docs/src/content/docs/getting-started.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/content/docs/getting-started.mdx b/docs/src/content/docs/getting-started.mdx index 3da26d59..1a019d3a 100644 --- a/docs/src/content/docs/getting-started.mdx +++ b/docs/src/content/docs/getting-started.mdx @@ -34,7 +34,7 @@ pnpm create astro --template withastro/starlight/examples/basics ```sh -# create a new project with pnpm +# create a new project with yarn yarn create astro --template withastro/starlight/examples/basics ``` -- cgit From 29167a7b06877ac3313b422535c85d118722bcd2 Mon Sep 17 00:00:00 2001 From: Elian ☕️ Date: Wed, 24 May 2023 10:55:29 +0200 Subject: fix: change link for guides/i18n (#82) --- docs/src/content/docs/reference/markdown-syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/content/docs/reference/markdown-syntax.md b/docs/src/content/docs/reference/markdown-syntax.md index 334e0f89..a9215cd8 100644 --- a/docs/src/content/docs/reference/markdown-syntax.md +++ b/docs/src/content/docs/reference/markdown-syntax.md @@ -108,7 +108,7 @@ Your users may be more productive and find your product easier to use thanks to - Clear navigation - User-configurable colour theme -- [i18n support](./guides/i18n) +- [i18n support](/guides/i18n) ::: @@ -122,7 +122,7 @@ Your users may be more productive and find your product easier to use thanks to - Clear navigation - User-configurable colour theme -- [i18n support](./guides/i18n) +- [i18n support](/guides/i18n) ::: ``` -- cgit 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