Skip to content

Commit abb2077

Browse files
Sync kit docs (#1195)
sync kit docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent ea568ee commit abb2077

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

apps/svelte.dev/content/docs/kit/25-build-and-deploy/60-adapter-cloudflare.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Cloudflare Pages
55

66
To deploy to [Cloudflare Pages](https://pages.cloudflare.com/), use [`adapter-cloudflare`](https://github.com/sveltejs/kit/tree/main/packages/adapter-cloudflare).
77

8-
This adapter will be installed by default when you use [`adapter-auto`](adapter-auto). If you plan on staying with Cloudflare Pages, you can switch from [`adapter-auto`](adapter-auto) to using this adapter directly so that values specific to Cloudflare Workers are emulated during local development, type declarations are automatically applied, and the ability to set Cloudflare-specific options is provided.
8+
This adapter will be installed by default when you use [`adapter-auto`](adapter-auto). If you plan on staying with Cloudflare Pages, you can switch from [`adapter-auto`](adapter-auto) to using this adapter directly so that `event.platform` is emulated during local development, type declarations are automatically applied, and the ability to set Cloudflare-specific options is provided.
99

1010
## Comparisons
1111

apps/svelte.dev/content/docs/kit/98-reference/[email protected]

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ id: RouteId;
15641564

15651565
<div class="ts-block-property-details">
15661566

1567-
The ID of the current route - e.g. for `src/routes/blog/[slug]`, it would be `/blog/[slug]`
1567+
The ID of the current route - e.g. for `src/routes/blog/[slug]`, it would be `/blog/[slug]`. It is `null` when no route is matched.
15681568

15691569
</div>
15701570
</div></div>
@@ -1612,13 +1612,26 @@ Is `null` if the target is not part of the SvelteKit app (could not be resolved
16121612
<div class="ts-block-property">
16131613

16141614
```dts
1615-
route: { id: string | null };
1615+
route: {/*…*/}
16161616
```
16171617

16181618
<div class="ts-block-property-details">
16191619

16201620
Info about the target route
16211621

1622+
<div class="ts-block-property-children"><div class="ts-block-property">
1623+
1624+
```dts
1625+
id: string | null;
1626+
```
1627+
1628+
<div class="ts-block-property-details">
1629+
1630+
The ID of the current route - e.g. for `src/routes/blog/[slug]`, it would be `/blog/[slug]`. It is `null` when no route is matched.
1631+
1632+
</div>
1633+
</div></div>
1634+
16221635
</div>
16231636
</div>
16241637

@@ -1771,7 +1784,7 @@ id: RouteId;
17711784

17721785
<div class="ts-block-property-details">
17731786

1774-
The ID of the current route - e.g. for `src/routes/blog/[slug]`, it would be `/blog/[slug]`.
1787+
The ID of the current route - e.g. for `src/routes/blog/[slug]`, it would be `/blog/[slug]`. It is `null` when no route is matched.
17751788

17761789
</div>
17771790
</div></div>
@@ -2032,7 +2045,7 @@ id: RouteId;
20322045

20332046
<div class="ts-block-property-details">
20342047

2035-
The ID of the current route - e.g. for `src/routes/blog/[slug]`, it would be `/blog/[slug]`.
2048+
The ID of the current route - e.g. for `src/routes/blog/[slug]`, it would be `/blog/[slug]`. It is `null` when no route is matched.
20362049

20372050
</div>
20382051
</div></div>

0 commit comments

Comments
 (0)