From 46b12ca6af1b23cfd35b84e2d3fa1f68ef07f244 Mon Sep 17 00:00:00 2001 From: Manuel Serret Date: Tue, 5 Nov 2024 18:39:41 +0100 Subject: [PATCH] chore: add docs for windows symbolic links for `sync-docs` command --- apps/svelte.dev/scripts/sync-docs/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/svelte.dev/scripts/sync-docs/README.md b/apps/svelte.dev/scripts/sync-docs/README.md index 6ccc1b4343..73ad236d0f 100644 --- a/apps/svelte.dev/scripts/sync-docs/README.md +++ b/apps/svelte.dev/scripts/sync-docs/README.md @@ -15,7 +15,14 @@ ln -s /path/to/wherever/you/cloned/sveltejs/kit repos/kit ln -s /path/to/wherever/you/cloned/sveltejs/cli repos/cli ``` -I have no idea what the equivalent Windows command would be. +For windows powershell (requires administrator privileges): + +```bash +cd apps/svelte.dev +New-Item -Path .\repos\svelte -ItemType SymbolicLink -Value /path/to/wherever/you/cloned/sveltejs/svelte +New-Item -Path .\repos\kit -ItemType SymbolicLink -Value /path/to/wherever/you/cloned/sveltejs/kit +New-Item -Path .\repos\cli -ItemType SymbolicLink -Value /path/to/wherever/you/cloned/sveltejs/cli +``` ## Syncing