Skip to content

Commit

Permalink
Merge branch 'main' into dx-919/sidebar-scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis authored Jan 9, 2024
2 parents 31e1848 + 8994d00 commit 5c830ea
Show file tree
Hide file tree
Showing 145 changed files with 343 additions and 259 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-rocks-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/starlight": patch
---

Adds Italian translation for `search.devWarning` UI
5 changes: 5 additions & 0 deletions .changeset/plenty-carrots-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/starlight': patch
---

Refactor `getLastUpdated` to use `node:child_process` instead of `execa`.
2 changes: 1 addition & 1 deletion docs/src/content/docs/da/guides/project-structure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Starlight projekter følger for det meste den samme fil- og mappestruktur som an

En Starlight projektstruktur kunne se sådan ud:

import FileTree from '../../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

<FileTree>

Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/da/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hero:
title: Få din dokumentation til at skinne med Starlight
tagline: Alt du har brug for, for at bygge en skindende dokumentationsside. Hurtig, tilgængelig og nem at bruge.
image:
file: ../../../assets/hero-star.webp
file: ~/assets/hero-star.webp
actions:
- text: Kom igang
icon: right-arrow
Expand All @@ -20,7 +20,7 @@ hero:
---

import { CardGrid, Card } from '@astrojs/starlight/components';
import AboutAstro from '../../../components/about-astro.astro';
import AboutAstro from '~/components/about-astro.astro';

<CardGrid stagger>
<Card title="Documentation, der begejstrer" icon="open-book">
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/da/showcase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Har du bygget en hjemmeside med Starlight eller et værktøj til Starlight?

## Sites

import ShowcaseSites from '../../../components/showcase-sites.astro';
import ShowcaseSites from '~/components/showcase-sites.astro';

Starlight bliver allerede brugt i produktion. Disse er nogle af de sider fra rund omkring på internettet:

Expand Down
6 changes: 3 additions & 3 deletions docs/src/content/docs/de/guides/components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Diese sehen wie HTML-Tags aus, beginnen aber mit einem Großbuchstaben, der dem
title: Willkommen bei meiner Dokumentation
---

import SomeComponent from '../../../components/SomeComponent.astro';
import AnotherComponent from '../../../components/AnotherComponent.astro';
import SomeComponent from '~/components/SomeComponent.astro';
import AnotherComponent from '~/components/AnotherComponent.astro';

<SomeComponent prop="something" />

Expand Down Expand Up @@ -176,7 +176,7 @@ import { LinkCard } from '@astrojs/starlight/components';
### Icon

import { Icon } from '@astrojs/starlight/components';
import IconsList from '../../../../components/icons-list.astro';
import IconsList from '~/components/icons-list.astro';

Starlight stellt eine Reihe von allgemeinen Icons zur Verfügung, die du mit der Komponente `<Icon>` in deinem Inhalt anzeigen kannst.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/de/guides/css-and-tailwind.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Die dunklen und hellen Vorschaubereiche zeigen die resultierenden Farben, und di

Wenn du mit deinen Änderungen zufrieden bist, kopiere den CSS- oder Tailwind-Code unten und verwende ihn in deinem Projekt.

import ThemeDesigner from '../../../../components/theme-designer.astro';
import ThemeDesigner from '~/components/theme-designer.astro';

<ThemeDesigner
labels={{
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/de/guides/customization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Lerne, wie du deine Starlight-Site mit deinem Logo, eigenen Schrift
---

import { Tabs, TabItem } from '@astrojs/starlight/components';
import FileTree from '../../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

Starlight bietet sinnvolle Standard-Styling und -Funktionen, so dass du schnell loslegen kannst, ohne dass eine Konfiguration erforderlich ist.
Wenn du das Aussehen deiner Starlight-Website anpassen willst, findest du in dieser Anleitung alle nötigen Informationen.
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/de/guides/i18n.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Internationalisierung (i18n)
description: Lerne, wie du deine Starlight-Website so konfigurierst, dass sie mehrere Sprachen unterstützt.
---

import FileTree from '../../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

Starlight bietet eingebaute Unterstützung für mehrsprachige Seiten, einschließlich Routing, Fallback-Inhalte und vollständige Unterstützung von rechts-nach-links (RTL) Sprachen.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/de/guides/project-structure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Starlight-Projekte folgen im Allgemeinen der gleichen Datei- und Verzeichnisstru

Ein Starlight-Projektverzeichnis könnte wie folgt aussehen:

import FileTree from '../../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

<FileTree>

Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/de/guides/sidebar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ title: Seitenleisten-Navigation
description: Erfahre, wie du die Navigationslinks in der Seitenleiste deiner Starlight-Website einrichten und anpassen kannst.
---

import FileTree from '../../../../components/file-tree.astro';
import SidebarPreview from '../../../../components/sidebar-preview.astro';
import FileTree from '~/components/file-tree.astro';
import SidebarPreview from '~/components/sidebar-preview.astro';

Eine gut organisierte Seitenleiste ist der Schlüssel zu einer guten Dokumentation, da sie eine der Hauptwege ist, auf denen die Benutzer durch deine Website navigieren werden. Starlight bietet eine ganze Reihe von Optionen, um das Layout und den Inhalt der Seitenleiste anzupassen.

Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/de/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hero:
title: Bringe deine Dokumentation mit Starlight zum Leuchten
tagline: Alles, was du brauchst, um eine erstklassige Dokumentations-Website zu erstellen. Schnell, barrierefrei und einfach zu bedienen.
image:
file: ../../../assets/hero-star.webp
file: ~/assets/hero-star.webp
actions:
- text: Los geht's
icon: right-arrow
Expand All @@ -18,7 +18,7 @@ hero:
---

import { CardGrid, Card } from '@astrojs/starlight/components';
import AboutAstro from '../../../components/about-astro.astro';
import AboutAstro from '~/components/about-astro.astro';

<CardGrid stagger>
<Card title="Dokumentation, die begeistert" icon="open-book">
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/de/manual-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Um alle Starlight-Seiten mit einem anderen Pfad aufrufen zu können, lege den ge

Wenn zum Beispiel die URL alle Starlight-Seiten mit `/guides/` beginnen sollen, füge deine Inhalte in das Verzeichnis `src/content/docs/guides/` ein:

import FileTree from '../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

<FileTree>

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/de/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ Das `defaultLocale` wird verwendet, um Ersatzinhalte bereitzustellen, wenn Über

### `social`

import SocialLinksType from '../../../../components/social-links-type.astro';
import SocialLinksType from '~/components/social-links-type.astro';

**Typ:** <SocialLinksType />

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/de/showcase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Eröffne einen PR und füge einen Link zu dieser Seite hinzu!

## Seiten

import ShowcaseSites from '../../../components/showcase-sites.astro';
import ShowcaseSites from '~/components/showcase-sites.astro';

Starlight wird bereits in der Produktion eingesetzt. Dies sind einige der Websiten, die im Internet zu finden sind:

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/es/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Utiliza subcarpetas para organizar tus archivos y crear múltiples segmentos de

Por ejemplo, la siguiente estructura de archivos generará páginas en `example.com/hello-world` y `example.com/guides/faq`:

import FileTree from '../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

<FileTree>

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/es/guides/components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ import { LinkCard } from '@astrojs/starlight/components';
### Iconos

import { Icon } from '@astrojs/starlight/components';
import IconsList from '../../../../components/icons-list.astro';
import IconsList from '~/components/icons-list.astro';

Starlight proporciona un conjunto de iconos comunes que puedes mostrar en tu contenido utilizando el componente `<Icon>`.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/es/guides/css-and-tailwind.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Las áreas de vista previa oscura y clara mostrarán los colores resultantes, y

Cuando estés satisfecho con tus cambios, copia el código CSS o Tailwind a continuación y úsalo en tu proyecto.

import ThemeDesigner from '../../../../components/theme-designer.astro';
import ThemeDesigner from '~/components/theme-designer.astro';

<ThemeDesigner
labels={{
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/es/guides/customization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Aprende cómo personalizar tu sitio de Starlight con estilos person
---

import { Tabs, TabItem } from '@astrojs/starlight/components';
import FileTree from '../../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

Starlight proporciona estilos y características predeterminadas sensatas, por lo que puedes comenzar rápidamente sin necesidad de configuración. Cuando desees comenzar a personalizar la apariencia de tu sitio de Starlight, esta guía te proporciona toda la información necesaria.

Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/es/guides/i18n.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Internacionalización (i18n)
description: Aprende a configurar tu sitio Starlight para admitir varios idiomas.
---

import FileTree from '../../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

Starlight proporciona soporte incorporado para sitios multilingües, incluidas las rutas, el contenido de respaldo y el soporte completo de idiomas de derecha a izquierda (RTL).

Expand Down Expand Up @@ -140,7 +140,7 @@ Si no hay una traducción disponible para un idioma, Starlight mostrará a los l

## Traduce la UI de Starlight

import LanguagesList from '../../../../components/languages-list.astro';
import LanguagesList from '~/components/languages-list.astro';

Además de alojar archivos de contenido traducidos, Starlight te permite traducir las etiquetas de UI predeterminadas (p. ej. el encabezado "En esta página" en la tabla de contenidos) para que tus lectores puedan experimentar tu sitio completamente en el idioma seleccionado.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/es/guides/project-structure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Los proyectos de Starlight generalmente siguen la misma estructura de archivos y

Un directorio de proyecto de Starlight podría lucir así:

import FileTree from '../../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

<FileTree>

Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/es/guides/sidebar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ title: Barra Lateral de Navegación
description: Aprende a configurar y personalizar los enlaces de navegación de la barra lateral de tu sitio Starlight.
---

import FileTree from '../../../../components/file-tree.astro';
import SidebarPreview from '../../../../components/sidebar-preview.astro';
import FileTree from '~/components/file-tree.astro';
import SidebarPreview from '~/components/sidebar-preview.astro';

Una barra lateral bien organizada es clave para una buena documentación, ya que es una de las principales formas en que los usuarios navegarán por su sitio. Starlight proporciona un conjunto completo de opciones para personalizar el diseño y el contenido de tu barra lateral.

Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/es/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hero:
title: Haz que tus docs brillen con Starlight
tagline: Todo lo que necesitas para construir un sitio web de documentación estelar. Rápido, accesible y fácil de usar.
image:
file: ../../../assets/hero-star.webp
file: ~/assets/hero-star.webp
actions:
- text: Empezar
icon: right-arrow
Expand All @@ -23,7 +23,7 @@ hero:
---

import { CardGrid, Card } from '@astrojs/starlight/components';
import AboutAstro from '../../../components/about-astro.astro';
import AboutAstro from '~/components/about-astro.astro';

<CardGrid stagger>
<Card title="Documentación que deleita" icon="open-book">
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/es/manual-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Para agregar todas las páginas de Starlight en una subruta, coloca todo tu cont

Por ejemplo, si las páginas de Starlight deben comenzar con `/guides/`, agrega tu contenido en el directorio `src/content/docs/guides/`:

import FileTree from '../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

<FileTree>

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/es/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ El idioma predeterminado se utilizará para proporcionar contenido de respaldo d

### `social`

import SocialLinksType from '../../../../components/social-links-type.astro';
import SocialLinksType from '~/components/social-links-type.astro';

**tipo:** <SocialLinksType />

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/es/showcase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: ¡Descubre los sitios construidos con Starlight y herramientas comu

## Sitios

import ShowcaseSites from '../../../components/showcase-sites.astro';
import ShowcaseSites from '~/components/showcase-sites.astro';

Starlight ya está siendo utilizado en producción. Estos son algunos de los sitios en la web:

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/fr/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Utilisez des sous-dossiers pour organiser vos fichiers et créer plusieurs segme

Par exemple, la structure de fichiers suivante génére des pages à `example.com/hello-world` et `example.com/guides/faq` :

import FileTree from '../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

<FileTree>

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/fr/guides/components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ import { LinkCard } from '@astrojs/starlight/components';
### Icônes

import { Icon } from '@astrojs/starlight/components';
import IconsList from '../../../../components/icons-list.astro';
import IconsList from '~/components/icons-list.astro';

Starlight fournit un ensemble d'icônes courantes que vous pouvez afficher dans votre contenu à l'aide du composant `<Icon>`.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/fr/guides/css-and-tailwind.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ Les zones d'aperçu sombre et clair afficheront les couleurs résultantes, et la

Quand vous êtes satisfait de vos modifications, copiez le code CSS ou Tailwind ci-dessous et utilisez-le dans votre projet.

import ThemeDesigner from '../../../../components/theme-designer.astro';
import ThemeDesigner from '~/components/theme-designer.astro';

<ThemeDesigner
labels={{
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/fr/guides/customization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Apprenez à vous approprier votre site Starlight avec votre logo, p
---

import { Tabs, TabItem } from '@astrojs/starlight/components';
import FileTree from '../../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

Starlight propose par défaut un style et des fonctionnalités pragmatiques, vous pouvez donc démarrer rapidement sans configuration nécessaire.
Lorsque vous souhaitez commencer à personnaliser l’apparence de votre site Starlight, ce guide vous accompagne.
Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/fr/guides/i18n.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Internationalisation (i18n)
description: Apprenez à configurer votre site Starlight pour qu'il prenne en charge plusieurs langues.
---

import FileTree from '../../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

Starlight offre une prise en charge intégrée des sites multilingues, y compris le routage, le contenu de repli et la prise en charge complète des langues de droite à gauche (RTL).

Expand Down Expand Up @@ -141,7 +141,7 @@ Si une traduction n'est pas encore disponible pour une langue, Starlight affiche

## Traduire l'interface utilisateur de Starlight

import LanguagesList from '../../../../components/languages-list.astro';
import LanguagesList from '~/components/languages-list.astro';

En plus d'héberger des fichiers de contenu traduits, Starlight vous permet de traduire les chaînes de l'interface utilisateur par défaut (par exemple, l'en-tête "Sur cette page" dans la table des matières) afin que vos lecteurs puissent découvrir votre site entièrement dans la langue sélectionnée.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/fr/guides/project-structure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Les projets Starlight suivent généralement la même structure de fichiers et d

Un répertoire de projet Starlight peut ressembler à ceci :

import FileTree from '../../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

<FileTree>

Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/fr/guides/sidebar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ title: Barre latérale de navigation
description: Apprendre à configurer et personnaliser les liens de la barre latérale de navigation de votre site Starlight.
---

import FileTree from '../../../../components/file-tree.astro';
import SidebarPreview from '../../../../components/sidebar-preview.astro';
import FileTree from '~/components/file-tree.astro';
import SidebarPreview from '~/components/sidebar-preview.astro';

Une barre latérale bien organisée est une des clés d'une bonne documentation, car c'est l'une des principales méthodes de navigation qui sera utilisée par les utilisateurs de votre site. Starlight fournit un ensemble complet d'options pour personnaliser la structure et le contenu de votre barre latérale.

Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/fr/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hero:
title: Faites briller vos documents avec Starlight
tagline: Tout ce dont vous avez besoin pour créer un excellent site web de documentation. Rapide, accessible et facile à utiliser.
image:
file: ../../../assets/hero-star.webp
file: ~/assets/hero-star.webp
actions:
- text: Mise en route
icon: right-arrow
Expand All @@ -23,7 +23,7 @@ hero:
---

import { CardGrid, Card } from '@astrojs/starlight/components';
import AboutAstro from '../../../components/about-astro.astro';
import AboutAstro from '~/components/about-astro.astro';

<CardGrid stagger>
<Card title="Une documentation qui enchante" icon="open-book">
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/fr/manual-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Pour ajouter toutes les pages Starlight dans un sous-chemin, placez tout votre c

Par exemple, si les pages de Starlight doivent toutes commencer par `/guides/`, ajoutez votre contenu dans le répertoire `src/content/docs/guides/` :

import FileTree from '../../../components/file-tree.astro';
import FileTree from '~/components/file-tree.astro';

<FileTree>

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/fr/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ La locale par défaut sera utilisée pour fournir un contenu de remplacement lor

### `social`

import SocialLinksType from '../../../../components/social-links-type.astro';
import SocialLinksType from '~/components/social-links-type.astro';

**Type :** <SocialLinksType />

Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/fr/showcase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Ouvrez une PR en ajoutant un lien à cette page !

## Sites

import ShowcaseSites from '../../../components/showcase-sites.astro';
import ShowcaseSites from '~/components/showcase-sites.astro';

Starlight est déjà utilisé en production. Voici quelques sites sur le web :

Expand Down
Loading

0 comments on commit 5c830ea

Please sign in to comment.