Skip to content

Commit c799e1e

Browse files
authored
Merge branch 'main' into i18n/fr-update-integrations-guide/react.mdx
2 parents fcf839c + d41ef2d commit c799e1e

File tree

83 files changed

+1431
-431
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1431
-431
lines changed

.github/actions/install/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
- name: Setup Node
1111
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
1212
with:
13-
node-version: 22.19.0
13+
node-version: 22.20.0
1414
cache: pnpm
1515

1616
- name: Install dependencies

src/components/LeftSidebar/Sponsors.astro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Netlify from './logos/netlify.svg';
33
import Webflow from './logos/webflow.svg';
44
import Sentry from './logos/sentry.svg';
55
import Mux from './logos/mux.svg';
6+
import Cloudflare from './logos/cloudflare.svg';
67
78
const instanceId = Math.floor(Math.random() * 100_000);
89
---
@@ -80,6 +81,13 @@ const instanceId = Math.floor(Math.random() * 100_000);
8081
<Webflow width="110" aria-hidden="true" />
8182
</a>
8283

84+
<a
85+
href="https://www.cloudflare.com/?utm_source=astro&utm_medium=astro&utm_campaign=astro"
86+
aria-label="Cloudflare"
87+
>
88+
<Cloudflare style="margin: -5% 0 5%" width="120" aria-hidden="true" />
89+
</a>
90+
8391
{/* Spacer element to push following logos onto a new row. */}
8492
<div style="flex-basis: 100%"></div>
8593

Lines changed: 5 additions & 0 deletions
Loading

src/content/docs/ar/concepts/why-astro.mdx

Lines changed: 46 additions & 47 deletions
Large diffs are not rendered by default.

src/content/docs/de/concepts/why-astro.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Einige Highlights sind:
1717
- **[Server-first](/de/guides/on-demand-rendering/):** Verschiebt das teure Rendering von den Geräten deiner Besucher.
1818
- **[Null JS, standardmäßig](/de/basics/astro-components/):** Weniger clientseitiges JavaScript verlangsamt deine Seite.
1919
- **[Inhaltssammlungen](/de/guides/content-collections/):** Organisiere, validiere und biete TypeScript-Typsicherheit für deine Markdown-Inhalte.
20-
- **[Anpassbar](/de/guides/integrations-guide/):** Tailwind, MDX und Hunderte von Integrationen zur Auswahl.
20+
- **[Anpassbar](/de/guides/integrations-guide/):** Partytown, MDX und Hunderte von Integrationen zur Auswahl.
2121

2222

2323
## Gestaltungsprinzipien

src/content/docs/de/recipes/add-yaml-support.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Astro baut auf Vite auf und unterstützt sowohl Vite- als auch Rollup-Plugins. D
2929
</Fragment>
3030
<Fragment slot="yarn">
3131
```shell
32-
yarn add @rollup/plugin-yaml --save-dev
32+
yarn add @rollup/plugin-yaml --dev
3333
```
3434
</Fragment>
3535
</PackageManagerTabs>

src/content/docs/en/guides/cms/storyblok.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'
1616

1717
## Integrating with Astro
1818

19-
In this section, you will use the [Storyblok integration](https://github.com/storyblok/storyblok-astro) to connect Storyblok to Astro.
19+
In this section, you will use the [Storyblok integration](https://github.com/storyblok/monoblok/tree/main/packages/astro) to connect Storyblok to Astro.
2020

2121
### Prerequisites
2222

@@ -49,7 +49,7 @@ Your root directory should now include this new file:
4949

5050
### Installing dependencies
5151

52-
To connect Astro with your Storyblok space, install the official [Storyblok integration](https://github.com/storyblok/storyblok-astro) using the command below for your preferred package manager:
52+
To connect Astro with your Storyblok space, install the official [Storyblok integration](https://github.com/storyblok/monoblok/tree/main/packages/astro) using the command below for your preferred package manager:
5353

5454
<PackageManagerTabs>
5555
<Fragment slot="npm">
@@ -110,7 +110,7 @@ The Storyblok integration requires an object with the following properties:
110110
The component paths are relative to the `src` directory. For example, if your component is located at `src/storyblok/MyComponent.astro`, the path would be `storyblok/MyComponent` (without the `.astro` extension).
111111
:::
112112

113-
3. `apiOptions` - An object containing [Storyblok API options](https://github.com/storyblok/storyblok-astro#options).
113+
3. `apiOptions` - An object containing [Storyblok API options](https://www.storyblok.com/docs/packages/storyblok-astro#api).
114114

115115
:::caution
116116
By default, the region is `eu`. If your Storyblok space was created in the US region, you will need to set the region to `us`.
@@ -539,7 +539,9 @@ Now, whenever you publish a new story, a new build will be triggered and your bl
539539

540540
## Official Resources
541541

542-
- Storyblok provides an [Astro Integration](https://www.storyblok.com/mp/announcing-storyblok-astro) to add Storyblok to your project.
542+
- [Storyblok Astro Integration](https://www.storyblok.com/mp/announcing-storyblok-astro) to add Storyblok to your project.
543+
- [Storyblok Astro guide](https://www.storyblok.com/docs/guides/astro/)
544+
- [Storyblok Astro package reference](https://www.storyblok.com/docs/packages/storyblok-astro)
543545

544546
## Community Resources
545547

src/content/docs/en/reference/errors/response-sent-error.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
1616
> **ResponseSentError**: The response has already been sent to the browser and cannot be altered.
1717
1818
## What went wrong?
19-
Making changes to the response, such as setting headers, cookies, and the status code cannot be done outside of page components.
19+
Making changes to the response, such as setting headers, cookies, and the status code can only be done in [page components](/en/basics/astro-pages/).
2020

21+
**See Also:**
22+
- [HTML streaming](/en/guides/on-demand-rendering/#html-streaming)
2123

2224

src/content/docs/fr/guides/cms/storyblok.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro';
1616

1717
## Intégration avec Astro
1818

19-
Dans cette section, vous utiliserez l'[intégration Storyblok](https://github.com/storyblok/storyblok-astro) pour connecter Storyblok à Astro.
19+
Dans cette section, vous utiliserez l'[intégration Storyblok](https://github.com/storyblok/monoblok/tree/main/packages/astro) pour connecter Storyblok à Astro.
2020

2121
### Prérequis
2222

@@ -49,7 +49,7 @@ Votre répertoire racine doit maintenant contenir ce nouveau fichier :
4949

5050
### Installation des dépendances
5151

52-
Pour connecter Astro à votre espace Storyblok, installez l'[intégration Storyblok](https://github.com/storyblok/storyblok-astro) officielle en utilisant la commande ci-dessous pour votre gestionnaire de paquets préféré :
52+
Pour connecter Astro à votre espace Storyblok, installez l'[intégration Storyblok](https://github.com/storyblok/monoblok/tree/main/packages/astro) officielle en utilisant la commande ci-dessous pour votre gestionnaire de paquets préféré :
5353

5454
<PackageManagerTabs>
5555
<Fragment slot="npm">
@@ -110,7 +110,7 @@ L'intégration de Storyblok nécessite un objet avec les propriétés suivantes
110110
Les chemins des composants sont relatifs au répertoire `src`. Par exemple, si votre composant est situé dans le répertoire `src/storyblok/MyComponent.astro`, le chemin sera `storyblok/MyComponent` (sans l'extension `.astro`).
111111
:::
112112

113-
3. `apiOptions` - Un objet contenant les [options de l'API Storyblok](https://github.com/storyblok/storyblok-astro#options).
113+
3. `apiOptions` - Un objet contenant les [options de l'API Storyblok](https://www.storyblok.com/docs/packages/storyblok-astro#api).
114114

115115
:::caution
116116
Par défaut, la région est `eu`. Si votre espace Storyblok a été créé dans la région US, vous devrez définir la région à `us`.
@@ -539,7 +539,9 @@ Désormais, chaque fois que vous publierez un nouvel article, une nouvelle compi
539539

540540
## Ressources officielles
541541

542-
- Storyblok fournit une [Intégration Astro](https://www.storyblok.com/mp/announcing-storyblok-astro) pour ajouter Storyblok à votre projet.
542+
- [Intégration Astro de Storyblok](https://www.storyblok.com/mp/announcing-storyblok-astro) pour ajouter Storyblok à votre projet.
543+
- [Guide Astro de Storyblok](https://www.storyblok.com/docs/guides/astro/)
544+
- [Référence du paquet Astro de Storyblok](https://www.storyblok.com/docs/packages/storyblok-astro)
543545

544546
## Ressources communautaires
545547

src/content/docs/fr/guides/environment-variables.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Par défaut, Astro fournit une définition de type pour `import.meta.env` dans `
3535

3636
Bien que vous puissiez définir davantage de variables d'environnement personnalisées dans les fichiers `.env.[mode]`, vous souhaiterez peut-être obtenir l'IntelliSense TypeScript pour les variables d'environnement définies par l'utilisateur qui sont préfixées par `PUBLIC_`.
3737

38-
Pour y parvenir, vous pouvez créer un `env.d.ts` dans `src/` et configurer `ImportMetaEnv` comme ceci :
38+
Pour y parvenir, vous pouvez créer un fichier `env.d.ts` dans `src/` pour [étendre les types globaux](/fr/guides/typescript/#extension-des-types-globaux) et configurer `ImportMetaEnv` comme ceci :
3939

4040
```ts title="src/env.d.ts"
4141
interface ImportMetaEnv {

0 commit comments

Comments
 (0)