diff options
author | Chris Swithinbank | 2023-05-24 11:04:31 +0200 |
---|---|---|
committer | GitHub | 2023-05-24 11:04:31 +0200 |
commit | d5bb127c0d6352bd1de616b170a3d3b6cbf93f5c (patch) | |
tree | 50ff660ec1a5b5e4f61eac496fe1f65c360115aa | |
parent | dd25fea9edde9444fdc83d44a6600e721f989c19 (diff) | |
parent | 1d2412fccafd284e127ae72882f344ea5a11d21b (diff) | |
download | IT.starlight-d5bb127c0d6352bd1de616b170a3d3b6cbf93f5c.tar.gz IT.starlight-d5bb127c0d6352bd1de616b170a3d3b6cbf93f5c.tar.bz2 IT.starlight-d5bb127c0d6352bd1de616b170a3d3b6cbf93f5c.zip |
Merge branch 'main' into sarah11918-root
-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/getting-started.mdx | 2 | ||||
-rw-r--r-- | docs/src/content/docs/guides/i18n.md | 2 | ||||
-rw-r--r-- | docs/src/content/docs/reference/configuration.md | 1 | ||||
-rw-r--r-- | docs/src/content/docs/reference/markdown-syntax.md | 4 | ||||
-rw-r--r-- | examples/basics/README.md | 8 |
7 files changed, 12 insertions, 7 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/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 <TabItem label="Yarn"> ```sh -# create a new project with pnpm +# create a new project with yarn yarn create astro --template withastro/starlight/examples/basics ``` diff --git a/docs/src/content/docs/guides/i18n.md b/docs/src/content/docs/guides/i18n.md index c2e83c53..f4c39bb7 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', defaultLocale: 'root', // optional locales: { root: { 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: { 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) ::: ``` 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 ``` |