From 67b4e4ff1c7a7aa6604d3a86a0fd8a65830c91b1 Mon Sep 17 00:00:00 2001 From: Puru Vijay <47742487+PuruVJ@users.noreply.github.com> Date: Mon, 19 Jun 2023 17:43:34 +0530 Subject: [PATCH] docs: normalize svelte compiler headings (#8755) The `svelte.` prefix was a remnant of CJS times --- .../docs/02-template-syntax/01-svelte-components.md | 2 +- .../docs/02-template-syntax/07-special-elements.md | 2 +- .../docs/04-compiler-and-api/01-svelte-compiler.md | 10 +++++----- .../02-client-side-component-api.md | 2 +- sites/svelte.dev/src/routes/docs/+page.svelte | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/documentation/docs/02-template-syntax/01-svelte-components.md b/documentation/docs/02-template-syntax/01-svelte-components.md index cb8d351465..7d4abb7b6a 100644 --- a/documentation/docs/02-template-syntax/01-svelte-components.md +++ b/documentation/docs/02-template-syntax/01-svelte-components.md @@ -38,7 +38,7 @@ Svelte uses the `export` keyword to mark a variable declaration as a _property_ You can specify a default initial value for a prop. It will be used if the component's consumer doesn't specify the prop on the component (or if its initial value is `undefined`) when instantiating the component. Note that if the values of props are subsequently updated, then any prop whose value is not specified will be set to `undefined` (rather than its initial value). -In development mode (see the [compiler options](/docs/svelte-compiler#svelte-compile)), a warning will be printed if no default initial value is provided and the consumer does not specify a value. To squelch this warning, ensure that a default initial value is specified, even if it is `undefined`. +In development mode (see the [compiler options](/docs/svelte-compiler#compile)), a warning will be printed if no default initial value is provided and the consumer does not specify a value. To squelch this warning, ensure that a default initial value is specified, even if it is `undefined`. ```svelte