From ab91c5cddb95abf04e756e3eb6c4d99042daff6e Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Mon, 6 Jan 2025 20:18:17 +0100 Subject: [PATCH] docs: tweak links (#14915) Remove one that is unnecessary, and make another one appear nice in markdown. --- packages/svelte/scripts/generate-version.js | 2 -- packages/svelte/src/index.d.ts | 2 +- packages/svelte/src/version.js | 2 -- packages/svelte/types/index.d.ts | 4 +--- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/svelte/scripts/generate-version.js b/packages/svelte/scripts/generate-version.js index 1c392efef4..3eeeb437dd 100644 --- a/packages/svelte/scripts/generate-version.js +++ b/packages/svelte/scripts/generate-version.js @@ -8,8 +8,6 @@ fs.writeFileSync( /** * The current version, as set in package.json. - * - * https://svelte.dev/docs/svelte-compiler#svelte-version * @type {string} */ export const VERSION = '${pkg.version}'; diff --git a/packages/svelte/src/index.d.ts b/packages/svelte/src/index.d.ts index e157ce76e2..554510542e 100644 --- a/packages/svelte/src/index.d.ts +++ b/packages/svelte/src/index.d.ts @@ -278,7 +278,7 @@ declare const SnippetReturn: unique symbol; * ``` * You can only call a snippet through the `{@render ...}` tag. * - * https://svelte.dev/docs/svelte/snippet + * See the [snippet documentation](https://svelte.dev/docs/svelte/snippet) for more info. * * @template Parameters the parameters that the snippet expects (if any) as a tuple. */ diff --git a/packages/svelte/src/version.js b/packages/svelte/src/version.js index add463faef..4b6e37995f 100644 --- a/packages/svelte/src/version.js +++ b/packages/svelte/src/version.js @@ -2,8 +2,6 @@ /** * The current version, as set in package.json. - * - * https://svelte.dev/docs/svelte-compiler#svelte-version * @type {string} */ export const VERSION = '5.16.2'; diff --git a/packages/svelte/types/index.d.ts b/packages/svelte/types/index.d.ts index b6b76b1cb7..d00b2b01ed 100644 --- a/packages/svelte/types/index.d.ts +++ b/packages/svelte/types/index.d.ts @@ -275,7 +275,7 @@ declare module 'svelte' { * ``` * You can only call a snippet through the `{@render ...}` tag. * - * https://svelte.dev/docs/svelte/snippet + * See the [snippet documentation](https://svelte.dev/docs/svelte/snippet) for more info. * * @template Parameters the parameters that the snippet expects (if any) as a tuple. */ @@ -1339,8 +1339,6 @@ declare module 'svelte/compiler' { } | undefined): Promise; /** * The current version, as set in package.json. - * - * https://svelte.dev/docs/svelte-compiler#svelte-version * */ export const VERSION: string; /**