Skip to content

Commit ab91c5c

Browse files
authored
docs: tweak links (#14915)
Remove one that is unnecessary, and make another one appear nice in markdown.
1 parent 2e2b440 commit ab91c5c

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

packages/svelte/scripts/generate-version.js

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ fs.writeFileSync(
88
99
/**
1010
* The current version, as set in package.json.
11-
*
12-
* https://svelte.dev/docs/svelte-compiler#svelte-version
1311
* @type {string}
1412
*/
1513
export const VERSION = '${pkg.version}';

packages/svelte/src/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ declare const SnippetReturn: unique symbol;
278278
* ```
279279
* You can only call a snippet through the `{@render ...}` tag.
280280
*
281-
* https://svelte.dev/docs/svelte/snippet
281+
* See the [snippet documentation](https://svelte.dev/docs/svelte/snippet) for more info.
282282
*
283283
* @template Parameters the parameters that the snippet expects (if any) as a tuple.
284284
*/

packages/svelte/src/version.js

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
/**
44
* The current version, as set in package.json.
5-
*
6-
* https://svelte.dev/docs/svelte-compiler#svelte-version
75
* @type {string}
86
*/
97
export const VERSION = '5.16.2';

packages/svelte/types/index.d.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ declare module 'svelte' {
275275
* ```
276276
* You can only call a snippet through the `{@render ...}` tag.
277277
*
278-
* https://svelte.dev/docs/svelte/snippet
278+
* See the [snippet documentation](https://svelte.dev/docs/svelte/snippet) for more info.
279279
*
280280
* @template Parameters the parameters that the snippet expects (if any) as a tuple.
281281
*/
@@ -1339,8 +1339,6 @@ declare module 'svelte/compiler' {
13391339
} | undefined): Promise<Processed>;
13401340
/**
13411341
* The current version, as set in package.json.
1342-
*
1343-
* https://svelte.dev/docs/svelte-compiler#svelte-version
13441342
* */
13451343
export const VERSION: string;
13461344
/**

0 commit comments

Comments
 (0)