Skip to content

Commit

Permalink
fix edit links
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Nov 20, 2023
1 parent 2d8a860 commit bc1f693
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sites/svelte.dev/src/routes/auth/login/+server.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const GET = client_id
<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>
<pre>GITHUB_CLIENT_ID=[YOUR_APP_ID]\nGITHUB_CLIENT_SECRET=[YOUR_APP_SECRET]\nBASEURL=http://localhost:5173</pre>
<p>The <code>BASEURL</code> variable should match the callback URL specified for your app.</p>
<p>See also <a target="_blank" href="https://github.com/sveltejs/svelte/tree/master/site#repl-github-integration">here</a></p>
<p>See also <a target="_blank" href="https://github.com/sveltejs/svelte/tree/svelte-4/sites/svelte.dev#repl-github-integration">here</a></p>
</body>
`,
{
Expand Down
2 changes: 1 addition & 1 deletion sites/svelte.dev/src/routes/docs/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<div class="text" id="docs-content" use:copy_code_descendants>
<a
class="edit"
href="https://github.com/sveltejs/svelte/edit/master/documentation/docs/{data.page.file}"
href="https://github.com/sveltejs/svelte/edit/svelte-4/documentation/docs/{data.page.file}"
>
<Icon size={50} name="edit" /> Edit this page on GitHub
</a>
Expand Down
2 changes: 1 addition & 1 deletion sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
$: if (scrollable) data.tutorial, scrollable.scrollTo(0, 0);
$: selected = lookup.get(data.slug);
$: improve_link = `https://github.com/sveltejs/svelte/tree/master/documentation/tutorial/${data.tutorial.dir}`;
$: improve_link = `https://github.com/sveltejs/svelte/tree/svelte-4/documentation/tutorial/${data.tutorial.dir}`;
const clone = (file) => ({
name: file.name.replace(/.\w+$/, ''),
Expand Down

0 comments on commit bc1f693

Please sign in to comment.