Skip to content

Commit 7a5176e

Browse files
authored
docs: fix edit links (#9568)
fixes #9557
1 parent 2d8a860 commit 7a5176e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sites/svelte.dev/src/routes/auth/login/+server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const GET = client_id
2121
<p>In order to use GitHub authentication, you will need to <a target="_blank" href="https://github.com/settings/developers">register an OAuth application</a> and create a local .env file:</p>
2222
<pre>GITHUB_CLIENT_ID=[YOUR_APP_ID]\nGITHUB_CLIENT_SECRET=[YOUR_APP_SECRET]\nBASEURL=http://localhost:5173</pre>
2323
<p>The <code>BASEURL</code> variable should match the callback URL specified for your app.</p>
24-
<p>See also <a target="_blank" href="https://github.com/sveltejs/svelte/tree/master/site#repl-github-integration">here</a></p>
24+
<p>See also <a target="_blank" href="https://github.com/sveltejs/svelte/tree/svelte-4/sites/svelte.dev#repl-github-integration">here</a></p>
2525
</body>
2626
`,
2727
{

sites/svelte.dev/src/routes/docs/[slug]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<div class="text" id="docs-content" use:copy_code_descendants>
2626
<a
2727
class="edit"
28-
href="https://github.com/sveltejs/svelte/edit/master/documentation/docs/{data.page.file}"
28+
href="https://github.com/sveltejs/svelte/edit/svelte-4/documentation/docs/{data.page.file}"
2929
>
3030
<Icon size={50} name="edit" /> Edit this page on GitHub
3131
</a>

sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
$: if (scrollable) data.tutorial, scrollable.scrollTo(0, 0);
4848
4949
$: selected = lookup.get(data.slug);
50-
$: improve_link = `https://github.com/sveltejs/svelte/tree/master/documentation/tutorial/${data.tutorial.dir}`;
50+
$: improve_link = `https://github.com/sveltejs/svelte/tree/svelte-4/documentation/tutorial/${data.tutorial.dir}`;
5151
5252
const clone = (file) => ({
5353
name: file.name.replace(/.\w+$/, ''),

0 commit comments

Comments
 (0)