Skip to content

Commit 7ef0173

Browse files
authored
docs: add docs for windows symbolic links for sync-docs command (#799)
chore: add docs for windows symbolic links for `sync-docs` command
1 parent 926b033 commit 7ef0173

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

apps/svelte.dev/scripts/sync-docs/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,14 @@ ln -s /path/to/wherever/you/cloned/sveltejs/kit repos/kit
1515
ln -s /path/to/wherever/you/cloned/sveltejs/cli repos/cli
1616
```
1717

18-
I have no idea what the equivalent Windows command would be.
18+
For windows powershell (requires administrator privileges):
19+
20+
```bash
21+
cd apps/svelte.dev
22+
New-Item -Path .\repos\svelte -ItemType SymbolicLink -Value /path/to/wherever/you/cloned/sveltejs/svelte
23+
New-Item -Path .\repos\kit -ItemType SymbolicLink -Value /path/to/wherever/you/cloned/sveltejs/kit
24+
New-Item -Path .\repos\cli -ItemType SymbolicLink -Value /path/to/wherever/you/cloned/sveltejs/cli
25+
```
1926

2027
## Syncing
2128

0 commit comments

Comments
 (0)