fix: edit extras install command and render symlink parent dir

This commit is contained in:
Davide Scaini
2026-03-29 16:52:58 +02:00
parent d2149bf77a
commit 7c281a48d7
4 changed files with 6 additions and 1 deletions
+1
View File
@@ -76,6 +76,7 @@ def _link_data(site: Path, data: Path) -> None:
merged = data / "_merged"
target = merged if merged.exists() else data
public_data = site / "public" / "data"
public_data.parent.mkdir(parents=True, exist_ok=True)
if public_data.is_symlink():
if public_data.resolve() == target.resolve():
return # already correct