From 0b178ceccedba43fd91feab4b3c932b0630659aa Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Wed, 23 Oct 2024 07:53:19 -0700 Subject: [PATCH] chore: update all learn.svelte.dev links and a couple of others (#13803) --- CONTRIBUTING.md | 2 +- README.md | 2 +- documentation/docs/07-misc/99-faq.md | 2 +- packages/svelte/README.md | 6 +++--- .../docs/content/02-examples/01-universal-reactivity.md | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5e78a01b98..dd7bbb476e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ There are many ways to contribute to Svelte, and many of them do not involve wri - Simply start using Svelte. Go through the [Getting Started](https://svelte.dev/docs#getting-started) guide. Does everything work as expected? If not, we're always looking for improvements. Let us know by [opening an issue](#reporting-new-issues). - Look through the [open issues](https://github.com/sveltejs/svelte/issues). A good starting point would be issues tagged [good first issue](https://github.com/sveltejs/svelte/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22). Provide workarounds, ask for clarification, or suggest labels. Help [triage issues](#triaging-issues-and-pull-requests). - If you find an issue you would like to fix, [open a pull request](#pull-requests). -- Read through our [tutorials](https://learn.svelte.dev/). If you find anything that is confusing or can be improved, you can make edits by clicking "Edit this page" at the bottom left of the tutorial page. +- Read through our [tutorials](https://svelte.dev/tutorial). If you find anything that is confusing or can be improved, you can make edits by clicking "Edit this page" at the bottom left of the tutorial page. - Take a look at the [features requested](https://github.com/sveltejs/svelte/labels/feature%20request) by others in the community and consider opening a pull request if you see something you want to work on. Contributions are very welcome. If you think you need help planning your contribution, please ping us on Discord at [svelte.dev/chat](https://svelte.dev/chat) and let us know you are looking for a bit of help. diff --git a/README.md b/README.md index 65a180924f..be94cba63c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Please see the [Contributing Guide](CONTRIBUTING.md) and the [`svelte`](packages ### svelte.dev -The source code for https://svelte.dev lives in the [sites](https://github.com/sveltejs/svelte/tree/master/sites/svelte.dev) folder, with all the documentation right [here](https://github.com/sveltejs/svelte/tree/master/documentation). The site is built with [SvelteKit](https://kit.svelte.dev). +The source code for https://svelte.dev lives in the [sites](https://github.com/sveltejs/svelte/tree/master/sites/svelte.dev) folder, with all the documentation right [here](https://github.com/sveltejs/svelte/tree/master/documentation). The site is built with [SvelteKit](https://svelte.dev/docs/kit). ## Is svelte.dev down? diff --git a/documentation/docs/07-misc/99-faq.md b/documentation/docs/07-misc/99-faq.md index b18f992855..4fceda03d6 100644 --- a/documentation/docs/07-misc/99-faq.md +++ b/documentation/docs/07-misc/99-faq.md @@ -4,7 +4,7 @@ title: Frequently asked questions ## I'm new to Svelte. Where should I start? -We think the best way to get started is playing through the interactive [tutorial](https://learn.svelte.dev/). Each step there is mainly focused on one specific aspect and is easy to follow. You'll be editing and running real Svelte components right in your browser. +We think the best way to get started is playing through the interactive [tutorial](/tutorial). Each step there is mainly focused on one specific aspect and is easy to follow. You'll be editing and running real Svelte components right in your browser. Five to ten minutes should be enough to get you up and running. An hour and a half should get you through the entire tutorial. diff --git a/packages/svelte/README.md b/packages/svelte/README.md index b548ad796e..23e35fd4a7 100644 --- a/packages/svelte/README.md +++ b/packages/svelte/README.md @@ -10,9 +10,9 @@ Learn more at the [Svelte website](https://svelte.dev), or stop by the [Discord ## Getting started -You can play around with Svelte in the [tutorial](https://learn.svelte.dev/), [examples](https://svelte.dev/examples), and [REPL](https://svelte.dev/repl). +You can play around with Svelte in the [tutorial](https://svelte.dev/tutorial), [examples](https://svelte.dev/examples), and [REPL](https://svelte.dev/repl). -When you're ready to build a full-fledge application, we recommend using [SvelteKit](https://kit.svelte.dev): +When you're ready to build a full-fledge application, we recommend using [SvelteKit](https://svelte.dev/docs/kit): ```bash npx sv create my-app @@ -21,7 +21,7 @@ npm install npm run dev ``` -See [the SvelteKit documentation](https://kit.svelte.dev/docs) to learn more. +See [the SvelteKit documentation](https://svelte.dev/docs/kit) to learn more. ## Changelog diff --git a/sites/svelte-5-preview/src/routes/docs/content/02-examples/01-universal-reactivity.md b/sites/svelte-5-preview/src/routes/docs/content/02-examples/01-universal-reactivity.md index 7e0f8162cf..eba0dae563 100644 --- a/sites/svelte-5-preview/src/routes/docs/content/02-examples/01-universal-reactivity.md +++ b/sites/svelte-5-preview/src/routes/docs/content/02-examples/01-universal-reactivity.md @@ -89,7 +89,7 @@ export function createCounter() { ## Stores equivalent -In Svelte 4, the way you'd do this is by creating a [custom store](https://learn.svelte.dev/tutorial/custom-stores), perhaps like this: +In Svelte 4, the way you'd do this is by creating a [custom store](https://svelte.dev/tutorial/svelte/custom-stores), perhaps like this: ```js import { writable } from 'svelte/store';