diff --git a/apps/svelte.dev/content/docs/kit/98-reference/20-$app-paths.md b/apps/svelte.dev/content/docs/kit/98-reference/20-$app-paths.md
index 358e3696ba..ca3b091db8 100644
--- a/apps/svelte.dev/content/docs/kit/98-reference/20-$app-paths.md
+++ b/apps/svelte.dev/content/docs/kit/98-reference/20-$app-paths.md
@@ -11,7 +11,7 @@ import { assets, base, resolveRoute } from '$app/paths';
## assets
-An absolute path that matches [`config.kit.paths.assets`](/docs/kit/reference/configuration#paths).
+An absolute path that matches [`config.kit.paths.assets`](https://kit.svelte.dev/docs/configuration#paths).
> If a value for `config.kit.paths.assets` is specified, it will be replaced with `'/_svelte_kit_assets'` during `vite dev` or `vite preview`, since the assets don't yet live at their eventual URL.
@@ -31,7 +31,7 @@ let assets:
## base
-A string that matches [`config.kit.paths.base`](/docs/kit/reference/configuration#paths).
+A string that matches [`config.kit.paths.base`](https://kit.svelte.dev/docs/configuration#paths).
Example usage: `
Link`
diff --git a/apps/svelte.dev/content/docs/kit/98-reference/20-$app-stores.md b/apps/svelte.dev/content/docs/kit/98-reference/20-$app-stores.md
index 935b92632a..aab4d54ad5 100644
--- a/apps/svelte.dev/content/docs/kit/98-reference/20-$app-stores.md
+++ b/apps/svelte.dev/content/docs/kit/98-reference/20-$app-stores.md
@@ -67,7 +67,7 @@ const page: import('svelte/store').Readable<
## updated
-A readable store whose initial value is `false`. If [`version.pollInterval`](/docs/kit/reference/configuration#version) is a non-zero value, SvelteKit will poll for new versions of the app and update the store value to `true` when it detects one. `updated.check()` will force an immediate check, regardless of polling.
+A readable store whose initial value is `false`. If [`version.pollInterval`](https://kit.svelte.dev/docs/configuration#version) is a non-zero value, SvelteKit will poll for new versions of the app and update the store value to `true` when it detects one. `updated.check()` will force an immediate check, regardless of polling.
On the server, this store can only be subscribed to during component initialization. In the browser, it can be subscribed to at any time.
diff --git a/apps/svelte.dev/content/docs/kit/98-reference/25-$env-dynamic-private.md b/apps/svelte.dev/content/docs/kit/98-reference/25-$env-dynamic-private.md
index 5e28ccb1fc..5eab609e28 100644
--- a/apps/svelte.dev/content/docs/kit/98-reference/25-$env-dynamic-private.md
+++ b/apps/svelte.dev/content/docs/kit/98-reference/25-$env-dynamic-private.md
@@ -2,7 +2,7 @@
title: $env/dynamic/private
---
-This module provides access to runtime environment variables, as defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](/docs/kit/reference/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](/docs/kit/reference/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](/docs/kit/reference/configuration#env) (if configured).
+This module provides access to runtime environment variables, as defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](/docs/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](/docs/configuration#env) (if configured).
This module cannot be imported into client-side code.
diff --git a/apps/svelte.dev/content/docs/kit/98-reference/25-$env-dynamic-public.md b/apps/svelte.dev/content/docs/kit/98-reference/25-$env-dynamic-public.md
index cd47676336..df214241e4 100644
--- a/apps/svelte.dev/content/docs/kit/98-reference/25-$env-dynamic-public.md
+++ b/apps/svelte.dev/content/docs/kit/98-reference/25-$env-dynamic-public.md
@@ -2,7 +2,7 @@
title: $env/dynamic/public
---
-Similar to [`$env/dynamic/private`](/docs/kit/reference/$env-all#$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](/docs/kit/reference/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
+Similar to [`$env/dynamic/private`](/docs/modules#$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
Note that public dynamic environment variables must all be sent from the server to the client, causing larger network requests — when possible, use `$env/static/public` instead.
diff --git a/apps/svelte.dev/content/docs/kit/98-reference/25-$env-static-private.md b/apps/svelte.dev/content/docs/kit/98-reference/25-$env-static-private.md
index 6a063e1115..729f79c1be 100644
--- a/apps/svelte.dev/content/docs/kit/98-reference/25-$env-static-private.md
+++ b/apps/svelte.dev/content/docs/kit/98-reference/25-$env-static-private.md
@@ -2,9 +2,9 @@
title: $env/static/private
---
-Environment variables [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env`. Like [`$env/dynamic/private`](/docs/kit/reference/$env-all#$env-dynamic-private), this module cannot be imported into client-side code. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](/docs/kit/reference/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](/docs/kit/reference/configuration#env) (if configured).
+Environment variables [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env`. Like [`$env/dynamic/private`](/docs/modules#$env-dynamic-private), this module cannot be imported into client-side code. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](/docs/configuration#env) (if configured).
-_Unlike_ [`$env/dynamic/private`](/docs/kit/reference/$env-all#$env-dynamic-private), the values exported from this module are statically injected into your bundle at build time, enabling optimisations like dead code elimination.
+_Unlike_ [`$env/dynamic/private`](/docs/modules#$env-dynamic-private), the values exported from this module are statically injected into your bundle at build time, enabling optimisations like dead code elimination.
```ts
import { API_KEY } from '$env/static/private';
diff --git a/apps/svelte.dev/content/docs/kit/98-reference/25-$env-static-public.md b/apps/svelte.dev/content/docs/kit/98-reference/25-$env-static-public.md
index 0d974c5aa4..f9284a4837 100644
--- a/apps/svelte.dev/content/docs/kit/98-reference/25-$env-static-public.md
+++ b/apps/svelte.dev/content/docs/kit/98-reference/25-$env-static-public.md
@@ -2,7 +2,7 @@
title: $env/static/public
---
-Similar to [`$env/static/private`](/docs/kit/reference/$env-all#$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](/docs/kit/reference/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
+Similar to [`$env/static/private`](/docs/modules#$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
Values are replaced statically at build time.
diff --git a/apps/svelte.dev/content/docs/kit/98-reference/27-$service-worker.md b/apps/svelte.dev/content/docs/kit/98-reference/27-$service-worker.md
index d961fdf906..d6b1a0dbdb 100644
--- a/apps/svelte.dev/content/docs/kit/98-reference/27-$service-worker.md
+++ b/apps/svelte.dev/content/docs/kit/98-reference/27-$service-worker.md
@@ -43,7 +43,7 @@ const build: string[];
## files
-An array of URL strings representing the files in your static directory, or whatever directory is specified by `config.kit.files.assets`. You can customize which files are included from `static` directory using [`config.kit.serviceWorker.files`](/docs/kit/reference/configuration)
+An array of URL strings representing the files in your static directory, or whatever directory is specified by `config.kit.files.assets`. You can customize which files are included from `static` directory using [`config.kit.serviceWorker.files`](https://kit.svelte.dev/docs/configuration)
@@ -72,7 +72,7 @@ const prerendered: string[];
## version
-See [`config.kit.version`](/docs/kit/reference/configuration#version). It's useful for generating unique cache names inside your service worker, so that a later deployment of your app can invalidate old caches.
+See [`config.kit.version`](https://kit.svelte.dev/docs/configuration#version). It's useful for generating unique cache names inside your service worker, so that a later deployment of your app can invalidate old caches.
diff --git a/apps/svelte.dev/content/docs/kit/98-reference/50-configuration.md b/apps/svelte.dev/content/docs/kit/98-reference/50-configuration.md
index 54f59919ea..a5da3e4d3c 100644
--- a/apps/svelte.dev/content/docs/kit/98-reference/50-configuration.md
+++ b/apps/svelte.dev/content/docs/kit/98-reference/50-configuration.md
@@ -387,7 +387,7 @@ publicPrefix?: string;
-A prefix that signals that an environment variable is safe to expose to client-side code. See [`$env/static/public`](/docs/kit/reference/$env-all#$env-static-public) and [`$env/dynamic/public`](/docs/kit/reference/$env-all#$env-dynamic-public). Note that Vite's [`envPrefix`](https://vitejs.dev/config/shared-options.html#envprefix) must be set separately if you are using Vite's environment variable handling - though use of that feature should generally be unnecessary.
+A prefix that signals that an environment variable is safe to expose to client-side code. See [`$env/static/public`](https://kit.svelte.dev/docs/modules#$env-static-public) and [`$env/dynamic/public`](https://kit.svelte.dev/docs/modules#$env-dynamic-public). Note that Vite's [`envPrefix`](https://vitejs.dev/config/shared-options.html#envprefix) must be set separately if you are using Vite's environment variable handling - though use of that feature should generally be unnecessary.