Skip to content

Commit efd5fb7

Browse files
committed
doc updates
1 parent 688672d commit efd5fb7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

documentation/docs/01-routing.md

-2
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ The job of this function is to return a `{ status, headers, body }` object repre
130130
- `4xx` — client error
131131
- `5xx` — server error
132132

133-
> For successful responses, SvelteKit will generate 304s automatically.
134-
135133
If the returned `body` is an object, and no `content-type` header is returned, it will automatically be turned into a JSON response. (Don't worry about `$lib`, we'll get to that [later](#modules-$lib).)
136134

137135
> Returning nothing is equivalent to an explicit 404 response.

documentation/docs/07-a-options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ In certain cases, you may wish to disable this behaviour. Adding a `sveltekit:no
3434

3535
### rel=external
3636

37-
By default, the SvelteKit runtime intercepts clicks on `<a>` elements and bypasses the normal browser navigation for relative (same-origin) URLs that match one of your page routes. We sometimes need to tell SvelteKit that certain links need to be handled by normal browser navigation.
37+
By default, the SvelteKit runtime intercepts clicks on `<a>` elements and bypasses the normal browser navigation for relative (same-origin) URLs that match one of your page routes. We sometimes need to tell SvelteKit that certain links need to be handled by normal browser navigation. Examples of this might be linking to another page on your domain that's not part of your SvelteKit app or linking to an endpoint.
3838

3939
Adding a `rel=external` attribute to a link...
4040

0 commit comments

Comments
 (0)